Skip to content

[Request] Support for Authentication in the .yaml file #2734

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

Open
jefeish opened this issue Jul 12, 2023 · 0 comments
Open

[Request] Support for Authentication in the .yaml file #2734

jefeish opened this issue Jul 12, 2023 · 0 comments
Labels
enhancement New feature or request P2

Comments

@jefeish
Copy link

jefeish commented Jul 12, 2023

Description:

I have been using the Swagger UI with GitHub pages to display the GitHub REST API, but I do not see Authorize support in the UI.

I added the following Authorize option (according to the Swagger UI - Bearer Authentication docs)

security:
  - bearerAuth: [] 
components:
  securitySchemes:
    bearerAuth:            # arbitrary name for the security scheme
      type: http
      scheme: bearer
      bearerFormat: JWT

This enables the Authorize option and makes it easier for our customers to test the API in Swagger.

Screenshot 2023-07-12 at 19 23 44

Would it be possible to add this ?

Thx

@becco becco added enhancement New feature or request P2 labels Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
None yet
Development

No branches or pull requests

2 participants