[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2025-07-30 16:00:27 +00:00
parent 4042f66efa
commit ec7446684e
3 changed files with 107 additions and 0 deletions

View File

@ -6439,6 +6439,30 @@ const docTemplate = `{
}
}
},
"/user/export": {
"get": {
"security": [
{
"JWTKeyAuth": []
}
],
"produces": [
"application/json"
],
"tags": [
"user"
],
"summary": "Get current user data export",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.UserExportStatus"
}
}
}
}
},
"/user/export/download": {
"post": {
"security": [
@ -9537,6 +9561,23 @@ const docTemplate = `{
}
}
},
"v1.UserExportStatus": {
"type": "object",
"properties": {
"created": {
"type": "string"
},
"expires": {
"type": "string"
},
"id": {
"type": "integer"
},
"size": {
"type": "integer"
}
}
},
"v1.UserPassword": {
"type": "object",
"properties": {

View File

@ -6431,6 +6431,30 @@
}
}
},
"/user/export": {
"get": {
"security": [
{
"JWTKeyAuth": []
}
],
"produces": [
"application/json"
],
"tags": [
"user"
],
"summary": "Get current user data export",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.UserExportStatus"
}
}
}
}
},
"/user/export/download": {
"post": {
"security": [
@ -9529,6 +9553,23 @@
}
}
},
"v1.UserExportStatus": {
"type": "object",
"properties": {
"created": {
"type": "string"
},
"expires": {
"type": "string"
},
"id": {
"type": "integer"
},
"size": {
"type": "integer"
}
}
},
"v1.UserPassword": {
"type": "object",
"properties": {

View File

@ -1408,6 +1408,17 @@ definitions:
token:
type: string
type: object
v1.UserExportStatus:
properties:
created:
type: string
expires:
type: string
id:
type: integer
size:
type: integer
type: object
v1.UserPassword:
properties:
new_password:
@ -6065,6 +6076,20 @@ paths:
summary: Request the deletion of the user
tags:
- user
/user/export:
get:
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/v1.UserExportStatus'
security:
- JWTKeyAuth: []
summary: Get current user data export
tags:
- user
/user/export/download:
post:
consumes: