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

Fix tag duplication when using cbv #193

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jgentil
Copy link

@jgentil jgentil commented Jun 20, 2023

Fixes: #192

I don't really like the way that _register_endpoints looks. It feels overly complicated, and there are some oddities, like whether or not APIWebsocketRoute is valid as a route or not?

Nevertheless, this fixes an issue with ReDoc and the duplication of tags when using class-based views.

@jgentil
Copy link
Author

jgentil commented Jul 23, 2023

@yuval9313 if you could review, please.

fastapi_restful/cbv.py Outdated Show resolved Hide resolved
fastapi_restful/cbv.py Outdated Show resolved Hide resolved
@jgentil jgentil requested a review from yuval9313 August 7, 2023 16:15
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

Successfully merging this pull request may close these issues.

[BUG] Tags are duplicated when using cbv
2 participants