add route

This commit is contained in:
2026-03-26 02:23:36 +07:00
parent 9f9ffaa55f
commit 0a6294a62f
12 changed files with 864 additions and 22 deletions
+81
View File
@@ -32,9 +32,90 @@
"pinnedMessage"
]
}
},
"/schedule": {
"get": {
"operationId": "pinnedMessage_GetDays",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/pinned_messageGetDaysRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
},
"tags": [
"pinnedMessage"
]
}
}
},
"definitions": {
"pinned_messageDay": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"performances": {
"type": "array",
"items": {
"$ref": "#/definitions/pinned_messagePerformance"
}
}
}
},
"pinned_messageGetDaysRsp": {
"type": "object",
"properties": {
"days": {
"type": "array",
"items": {
"$ref": "#/definitions/pinned_messageDay"
}
}
}
},
"pinned_messageNumber": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"pinned_messagePerformance": {
"type": "object",
"properties": {
"time_collection": {
"type": "string"
},
"time_start": {
"type": "string"
},
"place": {
"type": "string"
},
"name": {
"type": "string"
},
"numbers": {
"type": "array",
"items": {
"$ref": "#/definitions/pinned_messageNumber"
}
},
"costumes": {
"type": "string"
}
}
},
"pinned_messagePingRsp": {
"type": "object"
},