Skip to content

Commit 642ebd6

Browse files
"example" and "examples" cannot appear together
This affects the places where examples are used: parameter, header, and media-type objects for OAI#4578 and OAI#4776.
1 parent 51c827d commit 642ebd6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/schemas/validation/schema.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,10 @@ $defs:
10871087
type: object
10881088
additionalProperties:
10891089
$ref: '#/$defs/example-or-reference'
1090+
not:
1091+
required:
1092+
- example
1093+
- examples
10901094

10911095
map-of-strings:
10921096
type: object

0 commit comments

Comments
 (0)