Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong lock icon for endpoints #328

Closed
discover59 opened this issue Mar 8, 2021 · 3 comments
Closed

Wrong lock icon for endpoints #328

discover59 opened this issue Mar 8, 2021 · 3 comments

Comments

@discover59
Copy link

Swagger UI shows private endpoints with unlocked icon and public endpoints with locked icon.
This is confusing for user. It should use locked icon for private endpoints.

Python 3.7
Django 2.2.18
drf-spectacular 0.13.2

@tfranzel
Copy link
Owner

tfranzel commented Mar 8, 2021

well, the icon is a design decision of Swagger UI https://github.com/swagger-api/swagger-ui and is out of the scope of drf-spectacular. we merely provide a thin wrapper around the upstream project.

@discover59
Copy link
Author

Ah, I should have checked this issue on swagger ui first. It's wrong on their end.

@heckad
Copy link

heckad commented Aug 13, 2022

I just leave it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants