Skip to content

Commit

Permalink
Upd: add list idps endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Oct 23, 2023
1 parent 949c75c commit 2ab6b5e
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
33 changes: 33 additions & 0 deletions openapi/v2023.8.2/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2330,6 +2330,39 @@ paths:
x-specification-pii-or-sensitive: 'False'
x-specification-scenario: ''
x-specification-usecase: UC-C-PIC-A-004
/config/idp/open-ids:
post:
tags:
- config
summary: LIST - List IDP
operationId: configListIdp
description: LIST - List IDP
parameters:
- $ref: '#/paths/~1config~1policies/get/parameters/1'
- $ref: '#/paths/~1config~1policies/get/parameters/2'
x-specification-usecase: ''
x-specification-scenario: ''
x-specification-pii-or-sensitive: 'True'
x-specification-crudl-model: IDP
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
idps:
type: array
items:
allOf:
- $ref: '#/paths/~1config~1idp~1open-id~1%7BidpId%7D/delete/responses/200/content/application~1json/schema'
pagination:
$ref: '#/components/schemas/Pagination'
'400':
description: bad input parameter
security:
- BearerAuth: []
/config/admin/apikey:
post:
description: CREATE - Create an API key
Expand Down
3 changes: 3 additions & 0 deletions openapi/v2023.8.2/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ paths:
$ref: "./paths/configUpdateIdp.yaml"
delete:
$ref: "./paths/configDeleteIdp.yaml"
/config/idp/open-ids:
post:
$ref: "./paths/configListIdp.yaml"
/config/admin/apikey:
post:
$ref: "./paths/configCreateApikey.yaml"
Expand Down
34 changes: 34 additions & 0 deletions openapi/v2023.8.2/paths/configListIdp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
tags:
- config
summary: "LIST - List IDP"
operationId: "configListIdp"
description: "LIST - List IDP"
parameters:
- $ref: "../parameters/offset.yaml"
- $ref: "../parameters/limit.yaml"

x-specification-usecase: ""
x-specification-scenario: ""
x-specification-pii-or-sensitive: "True"
x-specification-crudl-model: "IDP"
responses:
"200":
description: ""

content:
application/json:
schema:
type: object
properties:
idps:
type: array
items:
allOf:
- $ref: "../definitions/IDP.yaml"
pagination:
$ref: "../definitions/Pagination.yaml"

"400":
description: bad input parameter
security:
- BearerAuth: []

0 comments on commit 2ab6b5e

Please sign in to comment.