express-jsdoc-swagger
express-jsdoc-swagger copied to clipboard
[BUG] apiKey Security Type Error
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
Hi we are working on improving security configuration and probably this will be fixed when we solve this issue #170