FastApi-RESTful
FastApi-RESTful copied to clipboard
Fix tag duplication when using cbv
Fixes: https://github.com/yuval9313/FastApi-RESTful/issues/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.
@yuval9313 if you could review, please.