Skip to content

Support security scheme #246

@su8ru

Description

@su8ru

Description

OpenAPI uses the term security scheme for authentication and authorization schemes.

https://swagger.io/docs/specification/authentication/

This allows security-related headers, etc. to be defined as security schemes, but currently openapi2aspida does not appear to detect this.

Describe the solution you'd like

Parses security schemes and converts them to aspida definitions along with other headers (and parameters).

Describe alternatives you've considered

This can be achieved by manually adding a header to each endpoint, but it is not a good idea.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions