Skip to content

Commit

Permalink
fix: generate sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
aarmam committed Nov 4, 2022
1 parent 5fbb294 commit 7765091
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 368 deletions.
14 changes: 12 additions & 2 deletions consent/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,17 @@ func (h *Handler) revokeOAuth2LoginSessions(w http.ResponseWriter, r *http.Reque
w.WriteHeader(http.StatusNoContent)
}

// Revoke OAuth 2.0 Consent Login Sessions Parameters
//
// swagger:parameters revokeOAuth2LoginSession
type revokeOAuth2LoginSession struct {
// The id of the OAuth 2.0 Login session.
//
// in: path
// required: true
ID string `json:"id"`
}

// swagger:route DELETE /oauth2/auth/sessions/login/{id} oAuth2 revokeOAuth2LoginSession
//
// # Revokes OAuth 2.0 Login Sessions of by session id
Expand All @@ -270,8 +281,7 @@ func (h *Handler) revokeOAuth2LoginSessions(w http.ResponseWriter, r *http.Reque
//
// Responses:
// 204: emptyResponse
// 400: jsonError
// 500: jsonError
// default: errorOAuth2
func (h *Handler) revokeOAuth2LoginSession(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
var loginSessionId = ps.ByName("id")

Expand Down
101 changes: 101 additions & 0 deletions internal/httpclient/api_o_auth2.go

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

This file was deleted.

Loading

0 comments on commit 7765091

Please sign in to comment.