From 35b863818dac79b3d1df4b456d7ad154376d796d Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Thu, 12 Aug 2021 08:33:50 +0200 Subject: [PATCH] Add scopes as required field of OAuth Flow Object This makes metaschema consistent with the 3.0.x spec. Refs #2666 --- schemas/v3.0/schema.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schemas/v3.0/schema.yaml b/schemas/v3.0/schema.yaml index b19f0a9669..7c70ec8cab 100644 --- a/schemas/v3.0/schema.yaml +++ b/schemas/v3.0/schema.yaml @@ -1,4 +1,4 @@ -id: https://spec.openapis.org/oas/3.0/schema/2020-02-25 +id: https://spec.openapis.org/oas/3.0/schema/2021-08-12 $schema: http://json-schema.org/draft-04/schema# description: Validation schema for OpenAPI Specification 3.0.X. type: object @@ -892,6 +892,7 @@ definitions: type: object required: - tokenUrl + - scopes properties: tokenUrl: type: string @@ -911,6 +912,7 @@ definitions: type: object required: - tokenUrl + - scopes properties: tokenUrl: type: string @@ -931,6 +933,7 @@ definitions: required: - authorizationUrl - tokenUrl + - scopes properties: authorizationUrl: type: string