0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 15:12:48 +01:00

Fix swagger security parts (#4236)

This commit is contained in:
Antoine GIRARD 2018-06-13 01:23:00 +02:00 committed by techknowlogick
parent 2b8c0bb5e2
commit 6efdcaed86
2 changed files with 8 additions and 16 deletions

View file

@ -7864,24 +7864,16 @@
}, },
"security": [ "security": [
{ {
"BasicAuth": [ "BasicAuth": []
"[]"
]
}, },
{ {
"Token": [ "Token": []
"[]"
]
}, },
{ {
"AccessToken": [ "AccessToken": []
"[]"
]
}, },
{ {
"AuthorizationHeaderToken": [ "AuthorizationHeaderToken": []
"[]"
]
} }
] ]
} }

View file

@ -20,10 +20,10 @@
// - text/html // - text/html
// //
// Security: // Security:
// - BasicAuth: [] // - BasicAuth :
// - Token: [] // - Token :
// - AccessToken: [] // - AccessToken :
// - AuthorizationHeaderToken: [] // - AuthorizationHeaderToken :
// //
// SecurityDefinitions: // SecurityDefinitions:
// BasicAuth: // BasicAuth: