mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:35:35 +03:00
Fix swagger security parts (#4236)
This commit is contained in:
parent
2b8c0bb5e2
commit
6efdcaed86
2 changed files with 8 additions and 16 deletions
16
public/swagger.v1.json
vendored
16
public/swagger.v1.json
vendored
|
@ -7864,24 +7864,16 @@
|
|||
},
|
||||
"security": [
|
||||
{
|
||||
"BasicAuth": [
|
||||
"[]"
|
||||
]
|
||||
"BasicAuth": []
|
||||
},
|
||||
{
|
||||
"Token": [
|
||||
"[]"
|
||||
]
|
||||
"Token": []
|
||||
},
|
||||
{
|
||||
"AccessToken": [
|
||||
"[]"
|
||||
]
|
||||
"AccessToken": []
|
||||
},
|
||||
{
|
||||
"AuthorizationHeaderToken": [
|
||||
"[]"
|
||||
]
|
||||
"AuthorizationHeaderToken": []
|
||||
}
|
||||
]
|
||||
}
|
|
@ -20,10 +20,10 @@
|
|||
// - text/html
|
||||
//
|
||||
// Security:
|
||||
// - BasicAuth: []
|
||||
// - Token: []
|
||||
// - AccessToken: []
|
||||
// - AuthorizationHeaderToken: []
|
||||
// - BasicAuth :
|
||||
// - Token :
|
||||
// - AccessToken :
|
||||
// - AuthorizationHeaderToken :
|
||||
//
|
||||
// SecurityDefinitions:
|
||||
// BasicAuth:
|
||||
|
|
Loading…
Reference in a new issue