Skip to content

Commit

Permalink
update response codes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaWilkes committed Apr 11, 2023
1 parent e1e4ee7 commit 2a09520
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 58 deletions.
17 changes: 5 additions & 12 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ paths:
summary: Publish a Provider
operationId: user-publish-provider
responses:
'201':
description: Created
'200':
description: OK
content:
application/json:
schema:
Expand All @@ -147,16 +147,9 @@ paths:
required:
- provider
'400':
description: Bad Request
content:
application/json:
schema:
type: object
properties:
message:
type: string
required:
- message
$ref: '#/components/responses/ErrorResponse'
'500':
$ref: '#/components/responses/ErrorResponse'
description: |-
Publish a new Provider, you may call this API multiple times for the same provider version until you have marked the publishing as complete.
Expand Down
103 changes: 57 additions & 46 deletions pkg/providerregistrysdk/api.gen.go

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

0 comments on commit 2a09520

Please sign in to comment.