-
Notifications
You must be signed in to change notification settings - Fork 246
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
How to create sub-folder in the generated docs? #1188
Comments
I'm no expert on redoc, but usually grouping happens through tags. auto-tagging works like this by default: drf-spectacular/drf_spectacular/settings.py Lines 8 to 13 in f9344b2
either change that setting or manually tag your viewsets like: @extend_schema(tags=["academic-document-names"])
class AdminAcademicDocumentNameViewSet():
... |
I was only able to create root-level folders using tags. No sub-folders. |
Not even sure they support this. Details about redocly are out of scope for us. We just provide convenient access. They might have some |
In my project, the APIs for the Admin user start with
api-admin
followed by theresource-name
.For eg:
So I want to display routes for
academic-document-names
insideapi-admin/academic-document-names
instead for displaying every endpoints followed byapi-admin
into one single giant folder. How do I achieve this?The text was updated successfully, but these errors were encountered: