Skip to content

Improve template for optional Auth  #714

@elnipa

Description

@elnipa

According to OpenAPI Spec single endpoints can have optional auth:
https://spec.openapis.org/oas/v3.1.0#optional-oauth2-security

In our case by defining

  security:
    - {}
    - bearerAuth: []

In this case the endpoint template should have some indication that auth is optional. Currently it's still marked as "required" and the options for Auth show an empty string for No Auth.
image
image

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