Skip to content

Commit

Permalink
parameters arrays MUST be unique on name & in, therefore MUST be uniq…
Browse files Browse the repository at this point in the history
…ue across all properties
  • Loading branch information
MikeRalphson committed Nov 20, 2018
1 parent f71d7f8 commit e619259
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schemas/v3.0/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ definitions:
oneOf:
- $ref: '#/definitions/Parameter'
- $ref: '#/definitions/Reference'
uniqueItems: true
patternProperties:
'^x-': {}
additionalProperties: false
Expand Down Expand Up @@ -627,6 +628,7 @@ definitions:
oneOf:
- $ref: '#/definitions/Parameter'
- $ref: '#/definitions/Reference'
uniqueItems: true
requestBody:
oneOf:
- $ref: '#/definitions/RequestBody'
Expand Down

0 comments on commit e619259

Please sign in to comment.