Add lock for attendance swagger doc
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-02-06 10:52:58 +08:00
parent 67e2cbbd04
commit b2f216f1bd
4 changed files with 16 additions and 3 deletions

View File

@@ -561,6 +561,11 @@ const docTemplate = `{
},
"/event/attendance": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Retrieves the list of attendees, including user info and decrypted KYC data for a specified event.",
"produces": [
"application/json"
@@ -2293,7 +2298,7 @@ const docTemplate = `{
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "localhost:8000",
BasePath: "/api/v1",
BasePath: "/app/api/v1",
Schemes: []string{"http", "https"},
Title: "NixCN CMS API",
Description: "API Docs based on Gin framework",

View File

@@ -20,7 +20,7 @@
"version": "1.0"
},
"host": "localhost:8000",
"basePath": "/api/v1",
"basePath": "/app/api/v1",
"paths": {
"/auth/exchange": {
"post": {
@@ -559,6 +559,11 @@
},
"/event/attendance": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Retrieves the list of attendees, including user info and decrypted KYC data for a specified event.",
"produces": [
"application/json"

View File

@@ -1,4 +1,4 @@
basePath: /api/v1
basePath: /app/api/v1
definitions:
data.EventIndexDoc:
properties:
@@ -566,6 +566,8 @@ paths:
data:
type: object
type: object
security:
- ApiKeyAuth: []
summary: Get Attendance List
tags:
- Event