This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix swagger security parts (
#4236
)
master
Antoine GIRARD
techknowlogick
7 years ago
parent
2b8c0bb5e2
commit
6efdcaed86
2 changed files
with
8 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-12
public/swagger.v1.json
+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:
Write
Preview
Loading…
Cancel
Save