Skip to content

Commit 4b1433d

Browse files
authored
Add scopes as required field of OAuth Flow Object (#2673)
This makes metaschema consistent with the 3.0.x spec. Refs #2666
1 parent d9ac75b commit 4b1433d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

schemas/v3.0/schema.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
id: https://spec.openapis.org/oas/3.0/schema/2020-02-25
1+
id: https://spec.openapis.org/oas/3.0/schema/2021-08-12
22
$schema: http://json-schema.org/draft-04/schema#
33
description: Validation schema for OpenAPI Specification 3.0.X.
44
type: object
@@ -892,6 +892,7 @@ definitions:
892892
type: object
893893
required:
894894
- tokenUrl
895+
- scopes
895896
properties:
896897
tokenUrl:
897898
type: string
@@ -911,6 +912,7 @@ definitions:
911912
type: object
912913
required:
913914
- tokenUrl
915+
- scopes
914916
properties:
915917
tokenUrl:
916918
type: string
@@ -931,6 +933,7 @@ definitions:
931933
required:
932934
- authorizationUrl
933935
- tokenUrl
936+
- scopes
934937
properties:
935938
authorizationUrl:
936939
type: string

0 commit comments

Comments
 (0)