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

[BUG] apiKey Security Type Error #191

Open
Facinorous-420 opened this issue Sep 29, 2021 · 1 comment
Open

[BUG] apiKey Security Type Error #191

Facinorous-420 opened this issue Sep 29, 2021 · 1 comment

Comments

@Facinorous-420
Copy link

Describe the bug
Currently when you use an apiKey type, which requires different parameters than the other security types (name, and in) it causes a type error.
This is because of this typing:
https://bss.nz/i/09-28-2021-Pd2pNRkOmD.png

To Reproduce
In options, use this as your security:

security: {
  BasicAuth: {
    type: 'apiKey',
    name: 'test',
     in: 'parameter'
    }
  },

Screenshots
https://bss.nz/i/09-28-2021-z60am9cTsL.png

@Facinorous-420 Facinorous-420 changed the title [BUG] [BUG] apiKey Security Type Error Sep 29, 2021
@kevinccbsg
Copy link
Member

Hi we are working on improving security configuration and probably this will be fixed when we solve this issue #170

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

No branches or pull requests

2 participants