chore: generate routes and swagger

This commit is contained in:
Methapon2001 2023-11-27 12:04:59 +07:00
parent ece51deb29
commit 732a4b3989
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 24 additions and 12 deletions

View file

@ -539,7 +539,7 @@
"operationId": "UploadFile",
"responses": {
"201": {
"description": "",
"description": "สำเร็จ",
"content": {
"application/json": {
"schema": {
@ -607,6 +607,9 @@
}
}
}
},
"404": {
"description": "ไม่พบลิ้นชัก"
}
},
"tags": [
@ -614,7 +617,9 @@
],
"security": [
{
"bearerAuth": []
"bearerAuth": [
"admin"
]
}
],
"parameters": [
@ -682,7 +687,7 @@
"operationId": "GetFile",
"responses": {
"200": {
"description": "",
"description": "สำเร็จ",
"content": {
"application/json": {
"schema": {
@ -732,7 +737,7 @@
"operationId": "UpdateFile",
"responses": {
"200": {
"description": "",
"description": "สำเร็จ",
"content": {
"application/json": {
"schema": {
@ -753,6 +758,9 @@
}
}
}
},
"404": {
"description": "ไม่พบตำแหน่งที่ต้องการสร้างแฟ้ม"
}
},
"tags": [
@ -760,7 +768,9 @@
],
"security": [
{
"bearerAuth": []
"bearerAuth": [
"admin"
]
}
],
"parameters": [
@ -829,7 +839,7 @@
"operationId": "DeleteFile",
"responses": {
"200": {
"description": ""
"description": "สำเร็จ"
}
},
"tags": [
@ -837,7 +847,9 @@
],
"security": [
{
"bearerAuth": []
"bearerAuth": [
"admin"
]
}
],
"parameters": [
@ -973,7 +985,7 @@
}
},
"tags": [
"File"
"Download"
],
"security": [],
"parameters": [
@ -1067,7 +1079,7 @@
"description": "สำเร็จ"
},
"404": {
"description": "ไม่พบของแฟ้ม"
"description": "ไม่พบตำแหน่งที่ต้องการสร้างแฟ้ม"
},
"500": {
"description": "เกิดข้อผิดพลาดกับระบบจัดการไฟล์"