Skip to content

Commit 6efdcae

Browse files
sapktechknowlogick
authored andcommitted
Fix swagger security parts (#4236)
1 parent 2b8c0bb commit 6efdcae

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

public/swagger.v1.json

+4-12
Original file line numberDiff line numberDiff line change
@@ -7864,24 +7864,16 @@
78647864
},
78657865
"security": [
78667866
{
7867-
"BasicAuth": [
7868-
"[]"
7869-
]
7867+
"BasicAuth": []
78707868
},
78717869
{
7872-
"Token": [
7873-
"[]"
7874-
]
7870+
"Token": []
78757871
},
78767872
{
7877-
"AccessToken": [
7878-
"[]"
7879-
]
7873+
"AccessToken": []
78807874
},
78817875
{
7882-
"AuthorizationHeaderToken": [
7883-
"[]"
7884-
]
7876+
"AuthorizationHeaderToken": []
78857877
}
78867878
]
78877879
}

routers/api/v1/api.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
// - text/html
2121
//
2222
// Security:
23-
// - BasicAuth: []
24-
// - Token: []
25-
// - AccessToken: []
26-
// - AuthorizationHeaderToken: []
23+
// - BasicAuth :
24+
// - Token :
25+
// - AccessToken :
26+
// - AuthorizationHeaderToken :
2727
//
2828
// SecurityDefinitions:
2929
// BasicAuth:

0 commit comments

Comments
 (0)