We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
When using a basicAuth security schema, the Authorization header is not added to the code samples.
basicAuth
Authorization
To Reproduce Steps to reproduce the behavior:
widdershins --language_tabs 'shell:curl' --summary ./bug.yml -o source/index.html.md
curl -X POST /example
Expected behavior I expect to see Authorization: Basic abcd123 similar to bearerAuth
Authorization: Basic abcd123
bearerAuth
I will send a PR.
The text was updated successfully, but these errors were encountered:
Add basicAuth auth header to all headers. Fixes Mermade#353
b89d197
Add basicAuth auth header to all headers. Fixes #353 (#354)
d8a922a
Successfully merging a pull request may close this issue.
Describe the bug
When using a
basicAuth
security schema, theAuthorization
header is not added to the code samples.To Reproduce
Steps to reproduce the behavior:
widdershins --language_tabs 'shell:curl' --summary ./bug.yml -o source/index.html.md
curl -X POST /example
Expected behavior
I expect to see
Authorization: Basic abcd123
similar tobearerAuth
I will send a PR.
The text was updated successfully, but these errors were encountered: