Browse Source

Fix swagger security parts (#4236)

master
Antoine GIRARD techknowlogick 7 years ago
parent
commit
6efdcaed86
2 changed files with 8 additions and 16 deletions
  1. +4
    -12
      public/swagger.v1.json
  2. +4
    -4
      routers/api/v1/api.go

+ 4
- 12
public/swagger.v1.json View File

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

+ 4
- 4
routers/api/v1/api.go View File

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


Loading…
Cancel
Save