Skip to content

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

Open
@jefeish

Description

@jefeish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions