Skip to content

Commit

Permalink
remove no longer applable TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dikhan committed Oct 10, 2019
1 parent 2d2bdba commit 9dad72c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openapi/openapi_v2_security.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ func (s *specV2Security) GetAPIKeySecurityDefinitions() (*SpecSecurityDefinition
var securityDefinition SpecSecurityDefinition
switch secDef.In {
case "header":
// TODO: add tests here
if refreshTokenURL := s.isRefreshTokenAuth(secDef); refreshTokenURL != "" {
securityDefinition = newAPIKeyHeaderRefreshTokenSecurityDefinition(secDefName, refreshTokenURL)
} else if s.isBearerScheme(secDef) {
Expand Down

0 comments on commit 9dad72c

Please sign in to comment.