Skip to content

Commit

Permalink
update also input arguments after specAPIKeyHeaderRefreshTokenSecurit…
Browse files Browse the repository at this point in the history
…yDefinition contructor signature refactoring
  • Loading branch information
dikhan committed Oct 8, 2019
1 parent b5650d9 commit 1806721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi/openapi_v2_security.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (s *specV2Security) GetAPIKeySecurityDefinitions() (*SpecSecurityDefinition
switch secDef.In {
case "header":
if refreshTokenURL := s.isRefreshTokenAuth(secDef); refreshTokenURL != "" {
securityDefinition = newAPIKeyHeaderRefreshTokenSecurityDefinition(secDefName, secDef, refreshTokenURL)
securityDefinition = newAPIKeyHeaderRefreshTokenSecurityDefinition(secDefName, refreshTokenURL)
} else if s.isBearerScheme(secDef) {
securityDefinition = newAPIKeyHeaderBearerSecurityDefinition(secDefName)
} else {
Expand Down

0 comments on commit 1806721

Please sign in to comment.