chore: add swagger docs

This commit is contained in:
2026-06-11 16:01:14 +03:00
parent cf1759e70d
commit 39455d102a
5 changed files with 39 additions and 5 deletions
+9 -1
View File
@@ -14,7 +14,15 @@ const docTemplate = `{
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {}
"paths": {},
"securityDefinitions": {
"Bearer": {
"description": "Type \"Bearer\" followed by a space and the JWT token.",
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it