You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating this important missing piece of Swagger to Django mapping!
It would be great if per-app schemas were supported. Ideally, you could use OpenAPI tags to map views into apps like so:
swagger.yaml
tags:
- name: feature1
description: Manage feature 1
- name: app1
description: Features provided by app1
- name: app2
description: Features provided by app2
paths:
/upload/:
post:
tags:
- app1
- feature1
...
Then your Django project folder layout could look something like:
app1/urls.py:
from . import api
router = SwaggerRouter(tags='app1', views=api)
...
Thanks for creating this important missing piece of Swagger to Django mapping!
It would be great if per-app schemas were supported. Ideally, you could use OpenAPI tags to map views into apps like so:
swagger.yaml
Then your Django project folder layout could look something like:
app1/urls.py:
or maybe even
The text was updated successfully, but these errors were encountered: