Swagger annotations for JWT key

This commit is contained in:
Imbus 2024-03-29 18:42:53 +01:00
parent c2fa9aa0c1
commit 87a19bfd4e

View file

@ -25,9 +25,10 @@ import (
// @license.name AGPL
// @license.url https://www.gnu.org/licenses/agpl-3.0.html
//@securityDefinitions.apikey bererToken
//@in header
//@name Authorization
// @securityDefinitions.apikey JWT
// @in header
// @name Authorization
// @description Use the JWT token provided by the login endpoint to authenticate requests. **Prefix the token with "Bearer ".**
// @host localhost:8080
// @BasePath /api