Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update apikey security handling #34

Merged
merged 3 commits into from
Dec 22, 2019
Merged

Conversation

andrzejwp
Copy link
Contributor

Per OAS documentation - apikey does not require a scheme property, hence this code fails:

 let authScheme = secDefinition.scheme.toLowerCase();
                                            ^
TypeError: Cannot read property 'toLowerCase' of undefined

Per OAS documentation - apikey does not require a scheme property, hence this code fails:
```
 let authScheme = secDefinition.scheme.toLowerCase();
                                            ^
TypeError: Cannot read property 'toLowerCase' of undefined
@andrzejwp
Copy link
Contributor Author

MR amended with version bump in package.json

@ErikWittern ErikWittern merged commit d31d79a into ErikWittern:master Dec 22, 2019
@ErikWittern
Copy link
Owner

@andrzejwp Thank you for this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants