We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got an error.
Then i found this on template. I add format query then it's work. But i don't think this is the good way
The text was updated successfully, but these errors were encountered:
Oh i think document should change
from drf_spectacular.views import SpectacularRedocView, SpectacularSwaggerView, SpectacularJSONAPIView urlpatterns += [ # YOUR PATTERNS path('api/schema/', SpectacularJSONAPIView.as_view(), name='schema'), # Optional UI: path('api/schema/swagger-ui/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), path('api/schema/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'), ]
Thanks!
Sorry, something went wrong.
hi @bboyadao, very interesting. this has worked flawlessly for a long time, but i have not tested it recently. their README says this:
specOrSpecUrl is either JSON object with specification or an URL to the spec in JSON or YAML format
so this should work for the default YAML response. i will have a look. its either an upstream bug or they changed their interface.
redoc released v2.0.0-rc.52 which fixes the regression.
v2.0.0-rc.52
No branches or pull requests
I got an error.
Then i found this on template.
I add format query then it's work. But i don't think this is the good way
The text was updated successfully, but these errors were encountered: