Active
Project:
OpenAPI
Version:
8.x-1.0-alpha1
Component:
User interface
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2018 at 17:50 UTC
Updated:
18 Jul 2018 at 16:33 UTC
Jump to comment: Most recent
I'm not able to view the content of these two pages:
They crash my browser. It is evidently just too much documentation for one page. I wish there were another interface to this documentation, because I need to see it and have no way to do so. I have tried on multiple browsers and on a few different computers. The pages always crash.
Comments
Comment #2
wim leersDrupal exposes lots of data. ReDoc apparently is not designed to scale for huge APIs.
Comment #3
wim leersComment #4
richgerdes@arnoldbird, I will look at splitting this data up into multiple pages, based on entity type. We do already do this for the rest display in SwaggerUI, so it would make sense to do so here.
In the mean time, you can try using the equivalent SwaggerUI interfaces. To do so, ensure that you have the equivalent Swagger UI module, OpenAPI Documentation using Swagger UI (openapi_swagger_ui), enabled. You should then be able to navigate to
admin/config/services/openapi/swagger-ui/jsonapiandadmin/config/services/openapi/swagger-ui/restFor rest, the swagger ui module does include per resource displays as well. You can find these by going to
admin/config/services/openapi/swagger-ui/rest/list-resources. This interface is still not completely finished, and may need some improvements, details can be found in #2874891: Allow filtering doc pages per resource. This issue does raise the desire to improve that interface, I have also been planning something more drastic over all here as part of #2948570: Refactor doc module implementations.