Skip to content

Commit

Permalink
fix: use correct response mode for removeOryAccessControlPolicyRoleMe… (
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Apr 2, 2020
1 parent c8c9d29 commit 17543cf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/api.swagger.json
Expand Up @@ -925,7 +925,7 @@
}
],
"responses": {
"201": {
"200": {
"description": "An empty response"
},
"500": {
Expand Down
2 changes: 1 addition & 1 deletion engine/ladon/handler.go
Expand Up @@ -283,7 +283,7 @@ func (e *Engine) Register(r *httprouter.Router) {
// Schemes: http, https
//
// Responses:
// 201: emptyResponse
// 200: emptyResponse
// 500: genericError
r.DELETE(BasePath+"/roles/:id/members/:member", e.sh.Upsert(e.rolesMembersRemove))
}
Expand Down
6 changes: 3 additions & 3 deletions internal/httpclient/client/engines/engines_client.go

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

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

0 comments on commit 17543cf

Please sign in to comment.