Skip to content

Commit

Permalink
Fix error marshaling for private link endpoints (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
emerkle826 authored May 10, 2022
1 parent aaf7004 commit 4635897
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 27 deletions.
24 changes: 0 additions & 24 deletions astra/astra.gen.go

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

21 changes: 18 additions & 3 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,26 @@ paths:
schema:
$ref: '#/components/schemas/PrivateLinkEndpoint'
400:
$ref: '#/components/responses/BadRequest'
description: not ok
content:
text/plain:
schema:
type: string
example: invalid
404:
$ref: '#/components/responses/NotFound'
description: not found
content:
text/plain:
schema:
type: string
example: invalid
409:
$ref: '#/components/responses/Conflict'
description: conflict
content:
text/plain:
schema:
type: string
example: invalid
500:
$ref: '#/components/responses/ServerError'
/v2/organizations/clusters/{clusterID}/datacenters/{datacenterID}/endpoints/{endpointID}:
Expand Down

0 comments on commit 4635897

Please sign in to comment.