How to have both Swagger and ReDoc #889
Unanswered
barseghyanartur
asked this question in
Q&A
Replies: 1 comment
-
# urls.py
urlpatterns = [
...
path("api/redoc/", TemplateView.as_view(template_name='ninja/redoc.html', extra_context={'openapi_json_url': '/api/openapi.json'})),
path("api/", api.urls)
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to have both Swagger and ReDoc. How to do that?
Beta Was this translation helpful? Give feedback.
All reactions