Auth: fix swagger response for get SSO settings endpoint (#80817)
fix swagger response for get SSO settings endpoint
This commit is contained in:
@@ -117,7 +117,7 @@ func (api *Api) getAuthorizedList(ctx context.Context, identity identity.Request
|
||||
// You need to have a permission with action `settings:read` with scope `settings:auth.<provider>:*`.
|
||||
//
|
||||
// Responses:
|
||||
// 200: okResponse
|
||||
// 200: getSSOSettingsResponse
|
||||
// 400: badRequestError
|
||||
// 401: unauthorisedError
|
||||
// 403: forbiddenError
|
||||
@@ -235,3 +235,9 @@ type RemoveProviderSettingsParams struct {
|
||||
// required:true
|
||||
Provider string `json:"key"`
|
||||
}
|
||||
|
||||
// swagger:response getSSOSettingsResponse
|
||||
type GetSSOSettingsResponse struct {
|
||||
// in: body
|
||||
Body models.SSOSettings `json:"body"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user