Skip to content

Commit

Permalink
fix: add full path for schema definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoblersTune committed Nov 4, 2022
1 parent ecae287 commit c2f0bc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/auth/openapi/id-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ paths:
type: object
properties:
access:
$ref: ./schemas.yaml#/access
$ref: ./schemas.yaml#/components/schemas/access
'404':
description: Not Found
operationId: get-grant
Expand Down
8 changes: 4 additions & 4 deletions packages/auth/openapi/resource-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ paths:
grant:
type: string
access:
$ref: ./schemas.yaml#/access
$ref: ./schemas.yaml#/components/schemas/access
key:
$ref: ./schemas.yaml#/key
$ref: ./schemas.yaml#/components/schemas/key
client_id:
type: string
description: Opaque client identifier.
Expand Down Expand Up @@ -86,11 +86,11 @@ paths:
description: The proofing method used by the client instance to bind the token to the RS request.
resource_server:
oneOf:
- $ref: ./schemas.yaml#/key
- $ref: ./schemas.yaml#/components/schemas/key
- type: string
description: 'The identification used to authenticate the resource server making this call, either by value or by reference.'
access:
$ref: ./schemas.yaml#/access
$ref: ./schemas.yaml#/components/schemas/access
required:
- access_token
- resource_server
Expand Down

0 comments on commit c2f0bc8

Please sign in to comment.