Skip to content

Commit

Permalink
Add scopes as required field of OAuth Flow Object
Browse files Browse the repository at this point in the history
This makes metaschema consistent with the 3.0.x spec.

Refs #2666
  • Loading branch information
char0n committed Aug 12, 2021
1 parent d9ac75b commit 35b8638
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion schemas/v3.0/schema.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -892,6 +892,7 @@ definitions:
type: object
required:
- tokenUrl
- scopes
properties:
tokenUrl:
type: string
Expand All @@ -911,6 +912,7 @@ definitions:
type: object
required:
- tokenUrl
- scopes
properties:
tokenUrl:
type: string
Expand All @@ -931,6 +933,7 @@ definitions:
required:
- authorizationUrl
- tokenUrl
- scopes
properties:
authorizationUrl:
type: string
Expand Down

0 comments on commit 35b8638

Please sign in to comment.