Fix swagget docs
All checks were successful
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-31 08:49:52 +08:00
parent c05724a9ee
commit 8c90837a67
10 changed files with 245 additions and 16 deletions

View File

@@ -463,6 +463,15 @@ paths:
data:
type: object
type: object
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
- $ref: '#/definitions/utils.RespStatus'
- properties:
data:
type: object
type: object
"500":
description: Internal Server Error
schema:
@@ -595,6 +604,15 @@ paths:
data:
type: object
type: object
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
- $ref: '#/definitions/utils.RespStatus'
- properties:
data:
type: object
type: object
"404":
description: Event Not Found
schema:
@@ -657,6 +675,15 @@ paths:
data:
type: object
type: object
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
- $ref: '#/definitions/utils.RespStatus'
- properties:
data:
type: object
type: object
"500":
description: Internal Server Error (Database query failed)
schema:
@@ -689,7 +716,7 @@ paths:
data:
$ref: '#/definitions/service_user.UserInfoData'
type: object
"403":
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
@@ -745,7 +772,7 @@ paths:
data:
$ref: '#/definitions/service_user.UserInfoData'
type: object
"403":
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
@@ -754,7 +781,7 @@ paths:
data:
type: object
type: object
"404":
"403":
description: User Not Public
schema:
allOf:
@@ -763,6 +790,15 @@ paths:
data:
$ref: '#/definitions/service_user.UserInfoData'
type: object
"404":
description: User Not Found
schema:
allOf:
- $ref: '#/definitions/utils.RespStatus'
- properties:
data:
type: object
type: object
"500":
description: Internal Server Error (UUID Parse Failed)
schema:
@@ -816,6 +852,15 @@ paths:
data:
type: object
type: object
"401":
description: Missing User ID / Unauthorized
schema:
allOf:
- $ref: '#/definitions/utils.RespStatus'
- properties:
data:
type: object
type: object
"500":
description: Internal Server Error (Search Engine or Missing Offset)
schema:
@@ -865,7 +910,7 @@ paths:
data:
type: object
type: object
"403":
"401":
description: Missing User ID / Unauthorized
schema:
allOf: