From e6192597fbd72190742bc536196a437649f8d326 Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Tue, 20 Nov 2018 03:29:54 +0000 Subject: [PATCH] parameters arrays MUST be unique on name & in, therefore MUST be unique across all properties --- schemas/v3.0/schema.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schemas/v3.0/schema.yaml b/schemas/v3.0/schema.yaml index 5fc07f584f..52eb1a137b 100644 --- a/schemas/v3.0/schema.yaml +++ b/schemas/v3.0/schema.yaml @@ -600,6 +600,7 @@ definitions: oneOf: - $ref: '#/definitions/Parameter' - $ref: '#/definitions/Reference' + uniqueItems: true patternProperties: '^x-': {} additionalProperties: false @@ -627,6 +628,7 @@ definitions: oneOf: - $ref: '#/definitions/Parameter' - $ref: '#/definitions/Reference' + uniqueItems: true requestBody: oneOf: - $ref: '#/definitions/RequestBody'