Skip to content

can I access to docs requires authentication? #2889

Open

Description

@kangkangv5

Now I can serve serve a spec and swagger or redoc documentation ui and
serving docs at http://localhost:{ip}/docs ,and also I can visit http://localhost:{ip}/swagger.json.

But I hope only authenticated people can access, otherwise there may be a security hole.

for example, using password or special url to visit docs.
Can swagger serve add this option function?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions