[skip ci] Updated swagger docs
This commit is contained in:
parent
7208694960
commit
764e4efa18
|
|
@ -7456,7 +7456,7 @@ const docTemplate = `{
|
||||||
},
|
},
|
||||||
"/user/logout": {
|
"/user/logout": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Destroys the current session and clears the refresh token cookie.",
|
"description": "Destroys the current session and clears the refresh token cookie. For OpenID Connect sessions the response includes an ` + "`" + `oidc_logout_url` + "`" + ` the client should redirect to so the provider session is ended too.",
|
||||||
"produces": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|
@ -7468,7 +7468,7 @@ const docTemplate = `{
|
||||||
"200": {
|
"200": {
|
||||||
"description": "Successfully logged out.",
|
"description": "Successfully logged out.",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/models.Message"
|
"$ref": "#/definitions/v1.LogoutResponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -11149,6 +11149,18 @@ const docTemplate = `{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"v1.LogoutResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"oidc_logout_url": {
|
||||||
|
"description": "RP-Initiated Logout URL the frontend redirects to. Empty for non-OIDC sessions.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"v1.UserAvatarProvider": {
|
"v1.UserAvatarProvider": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
|
|
@ -7448,7 +7448,7 @@
|
||||||
},
|
},
|
||||||
"/user/logout": {
|
"/user/logout": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Destroys the current session and clears the refresh token cookie.",
|
"description": "Destroys the current session and clears the refresh token cookie. For OpenID Connect sessions the response includes an `oidc_logout_url` the client should redirect to so the provider session is ended too.",
|
||||||
"produces": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
|
|
@ -7460,7 +7460,7 @@
|
||||||
"200": {
|
"200": {
|
||||||
"description": "Successfully logged out.",
|
"description": "Successfully logged out.",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/models.Message"
|
"$ref": "#/definitions/v1.LogoutResponse"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -11141,6 +11141,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"v1.LogoutResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"oidc_logout_url": {
|
||||||
|
"description": "RP-Initiated Logout URL the frontend redirects to. Empty for non-OIDC sessions.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"v1.UserAvatarProvider": {
|
"v1.UserAvatarProvider": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
|
|
@ -1714,6 +1714,15 @@ definitions:
|
||||||
password:
|
password:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
v1.LogoutResponse:
|
||||||
|
properties:
|
||||||
|
message:
|
||||||
|
type: string
|
||||||
|
oidc_logout_url:
|
||||||
|
description: RP-Initiated Logout URL the frontend redirects to. Empty for
|
||||||
|
non-OIDC sessions.
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
v1.UserAvatarProvider:
|
v1.UserAvatarProvider:
|
||||||
properties:
|
properties:
|
||||||
avatar_provider:
|
avatar_provider:
|
||||||
|
|
@ -6945,13 +6954,15 @@ paths:
|
||||||
/user/logout:
|
/user/logout:
|
||||||
post:
|
post:
|
||||||
description: Destroys the current session and clears the refresh token cookie.
|
description: Destroys the current session and clears the refresh token cookie.
|
||||||
|
For OpenID Connect sessions the response includes an `oidc_logout_url` the
|
||||||
|
client should redirect to so the provider session is ended too.
|
||||||
produces:
|
produces:
|
||||||
- application/json
|
- application/json
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successfully logged out.
|
description: Successfully logged out.
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/models.Message'
|
$ref: '#/definitions/v1.LogoutResponse'
|
||||||
summary: Logout
|
summary: Logout
|
||||||
tags:
|
tags:
|
||||||
- auth
|
- auth
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue