Skip to content

Security Schema Template Displays a Fixed Description in Security Schemas #1091

Open

Description

@a-chacon

Hi! I noticed that RapiDoc is showing a general description for any of the security schemas available after the OAS description. Specifically, this line in the code:

<div style="margin-bottom:5px"> Send <code>Authorization</code> in <code>header</code> containing the word <code>Bearer</code> followed by a space and token value</div>

If my OAS already provides a description for the security schema, having this redundant general description displayed afterward creates confusion about how to use the security schema.

My expected behavior is that the general description should not be shown if the OAS already contains a description for the security schema. This redundancy can lead to confusion, as seen in this issue: a-chacon/oas_rails#91.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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