Skip to content

Commit

Permalink
feat: need to fetch the associated clients_id in GET scopes api respo…
Browse files Browse the repository at this point in the history
…nse #1923 (#1949)
  • Loading branch information
duttarnab authored Jul 31, 2022
1 parent f865a59 commit 88606a5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions jans-config-api/docs/jans-config-api-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2265,7 +2265,7 @@ paths:
title: Scope description list.
description: List of scope description.
items:
$ref: '#/components/schemas/Scope'
$ref: '#/components/schemas/ExtendedScope'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
Expand Down Expand Up @@ -2377,7 +2377,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Scope'
$ref: '#/components/schemas/ExtendedScope'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
Expand Down Expand Up @@ -5217,6 +5217,17 @@ components:
description: Expiry date of the Scope.
type: string
format: date
ExtendedScope:
allOf: # Combines the Scope and the inline model
- $ref: '#/components/schemas/Scope'
- type: object
- type: object
properties:
clients:
description: Associated oidc clients
type: array
items:
$ref: '#/components/schemas/Client'
CustomAttribute:
title: CustomAttribute
description: Attribute.
Expand Down

0 comments on commit 88606a5

Please sign in to comment.