Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: need to fetch the associated clients_id in GET scopes api respo… #1949

Merged
merged 1 commit into from
Jul 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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