Skip to content

Commit

Permalink
removed unapplicable todo
Browse files Browse the repository at this point in the history
  • Loading branch information
FraDiBen committed Oct 10, 2019
1 parent 6ed5f89 commit 58b1073
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openapi/openapi_spec_authenticator_apikey.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ type specAPIKeyAuthenticator interface {
func createAPIKeyAuthenticator(secDef SpecSecurityDefinition, value string) specAPIKeyAuthenticator {
switch secDef.getAPIKey().In {
case inHeader:
// TODO: add tests here
if secDef.getType() == securityDefinitionAPIKeyRefreshToken {
return newAPIRefreshTokenAuthenticator(secDef.getAPIKey().Name, secDef.buildValue(value), secDef.getAPIKey().Metadata[refreshTokenURLKey].(string))
}
Expand Down

0 comments on commit 58b1073

Please sign in to comment.