Skip to content

Commit

Permalink
Re-arranges some more schemas
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed May 1, 2024
1 parent bd7fab4 commit d1ba464
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 51 deletions.
57 changes: 7 additions & 50 deletions spec/namespaces/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ components:
schema:
$ref: '../schemas/security._common.yaml#/components/schemas/DynamicConfig'
security.get_distinguished_name@200:
description: 'Show nodesDn setting for given cluster'
description: Show nodesDn setting for given cluster.
content:
application/json:
schema:
Expand Down Expand Up @@ -1566,14 +1566,7 @@ components:
content:
application/json:
schema:
type: object
properties:
message:
type: string
mode:
type: string
status:
type: string
$ref: '../schemas/security._common.yaml#/components/schemas/HealthInfo'
security.patch_action_group@200:
description: ''
content:
Expand Down Expand Up @@ -1693,67 +1686,31 @@ components:
content:
application/json:
schema:
type: object
properties:
status:
type: string
upgradeAvailable:
type: boolean
upgradeActions:
type: object
$ref: '../schemas/security._common.yaml#/components/schemas/UpgradeCheck'
security.config_upgrade_perform@200:
description: ''
content:
application/json:
schema:
type: object
properties:
status:
type: string
upgrades:
type: object
$ref: '../schemas/security._common.yaml#/components/schemas/UpgradePerform'
security.who_am_i@200:
description: ''
content:
application/json:
schema:
type: object
properties:
dn:
type: string
is_admin:
type: string
is_node_certificate_request:
type: string
$ref: '../schemas/security._common.yaml#/components/schemas/WhoAmI'
security.who_am_i_protected@200:
description: ''
content:
application/json:
schema:
type: object
properties:
dn:
type: string
is_admin:
type: string
is_node_certificate_request:
type: string
$ref: '../schemas/security._common.yaml#/components/schemas/WhoAmI'
security.generate_obo_token@200:
description: ''
content:
application/json:
schema:
type: object
properties:
user:
type: string
description: The name of the entity requesting token.
authenticationToken:
type: string
description: The generated OBO token.
durationSeconds:
type: string
description: The duration of the token, defaulted to 300s.
$ref: '../schemas/security._common.yaml#/components/schemas/GenerateOBOToken'
security.cache@501:
description: ''
content:
Expand Down
48 changes: 47 additions & 1 deletion spec/schemas/security._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -586,4 +586,50 @@ components:
description: Returns transport server's name.
ssl_provider_transport_client:
type: string
description: Returns transport client's name.
description: Returns transport client's name.
HealthInfo:
type: object
properties:
message:
type: string
mode:
type: string
status:
type: string
UpgradeCheck:
type: object
properties:
status:
type: string
upgradeAvailable:
type: boolean
upgradeActions:
type: object
UpgradePerform:
type: object
properties:
status:
type: string
upgrades:
type: object
WhoAmI:
type: object
properties:
dn:
type: string
is_admin:
type: string
is_node_certificate_request:
type: string
GenerateOBOToken:
type: object
properties:
user:
type: string
description: The name of the entity requesting token.
authenticationToken:
type: string
description: The generated OBO token.
durationSeconds:
type: string
description: The duration of the token, defaulted to 300s.

0 comments on commit d1ba464

Please sign in to comment.