Skip to content

Add support for type: http and schema basic or bearer in paths #37

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

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

codyaray
Copy link
Contributor

It looks like #19 missed a couple changes.

paths:
  /users:
    get:
      security:
        - api-key: []

components:
  securitySchemes:
    api-key:
      type: http
      scheme: basic

Without this change, no auth header is added for the above schema. Only type: basic results in an HTTP Basic Authorization header.

@ErikWittern ErikWittern merged commit 2c445c1 into ErikWittern:master Mar 4, 2020
@ErikWittern
Copy link
Owner

@codyaray Great, thank your 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