Skip to content

Commit

Permalink
Updated response code for credential creation
Browse files Browse the repository at this point in the history
swagger.yml reported response code 201 when it should've been 200.

Signed-off-by: Chris Arceneaux <[email protected]>
  • Loading branch information
carceneaux committed Apr 27, 2021
1 parent 94dd686 commit 5029a3f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: generate dependency
default: generate dependency

# Removes currently generated client files
cleanup:
Expand Down
22 changes: 11 additions & 11 deletions client/credentials/create_creds_responses.go

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

6 changes: 3 additions & 3 deletions client/credentials/credentials_client.go

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

2 changes: 1 addition & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3744,7 +3744,7 @@ paths:
schema:
$ref: '#/definitions/CredentialsSpec'
responses:
'201':
'200':
description: Account has been added.
schema:
$ref: '#/definitions/CredentialsModel'
Expand Down

0 comments on commit 5029a3f

Please sign in to comment.