Skip to content

Commit

Permalink
openapi update
Browse files Browse the repository at this point in the history
  • Loading branch information
parametalol committed Dec 19, 2023
1 parent a604c00 commit d0eabc4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 47 deletions.
5 changes: 3 additions & 2 deletions internal/dinosaur/pkg/api/admin/private/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ paths:
summary: Restore a central tenant that was already deleted
/api/rhacs/v1/admin/centrals/{id}/billing-model:
patch:
operationId: changeBillingModel
parameters:
- description: The ID of record
in: path
Expand Down Expand Up @@ -498,7 +499,7 @@ paths:
style: form
responses:
"200":
description: RHSSO client successfully rotated
description: Billing model changed
"401":
content:
application/json:
Expand All @@ -524,7 +525,7 @@ paths:
schema:
$ref: '#/components/schemas/Error'
description: Unexpected error occurred
summary: Rotate RHSSO client of a central tenant
summary: Change central billing model
/api/rhacs/v1/admin/centrals/db/{id}:
delete:
operationId: deleteDbCentralById
Expand Down
86 changes: 43 additions & 43 deletions internal/dinosaur/pkg/api/admin/private/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions openapi/fleet-manager-private-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ paths:
$ref: 'fleet-manager.yaml#/components/schemas/Error'
'/api/rhacs/v1/admin/centrals/{id}/billing-model':
patch:
summary: Rotate RHSSO client of a central tenant
summary: Change central billing model
operationId: changeBillingModel
parameters:
- $ref: "fleet-manager.yaml#/components/parameters/id"
- in: query
Expand All @@ -356,7 +357,7 @@ paths:
required: false
responses:
"200":
description: RHSSO client successfully rotated
description: Billing model changed
"401":
description: Auth token is invalid
content:
Expand Down

0 comments on commit d0eabc4

Please sign in to comment.