Skip to content

Commit

Permalink
fix(api): nicier url /api/schema/swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuukis committed Nov 13, 2024
1 parent 9ff8aff commit 7a30007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kobo/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# YOUR PATTERNS
path('api/schema/', SpectacularAPIView.as_view(), name='schema'),
# Optional UI:
path('api/schema/swagger-ui/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'),
path('api/schema/swagger/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'),
path('api/schema/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'),

# https://github.com/stochastic-technologies/django-loginas
Expand Down

0 comments on commit 7a30007

Please sign in to comment.