marcgibbons / django-rest-swagger

Swagger Documentation Generator for Django REST Framework: deprecated
https://marcgibbons.com/django-rest-swagger/
BSD 2-Clause "Simplified" License
2.59k stars 602 forks source link

Swagger is to slow for many apps #800

Closed gabriel-petz closed 5 years ago

gabriel-petz commented 5 years ago

How to set a different swagger for each of my apps in the project?

I have a problem with the rest swagger, it takes too long time to loading, already try to split a swagger for a specific application, but in the end, all the urls were in the same place.

I have seen in other issues the same problem, but all the solutions were not efficient, so I though about it, and try to a find a better way to solve that problem.

My project contains around 1000 urls for the api, and I need to render all of them.

In my solution, i though about slicing the swagger by app, ex:

When I access the url /docs/app1/ it brings all my application1 urls and only for the application1, so it make the render faster.

gabriel-petz commented 5 years ago

I'm closing this issue because, I had opened another issue on django_rest_framework project, and there is not much that can be done.

gabriel-petz commented 5 years ago

https://github.com/encode/django-rest-framework/issues/6721