Open ppazos opened 2 years ago
Also see what highlight recommends about workers to avoid freezing the whole window https://github.com/highlightjs/highlight.js#using-web-workers
Any plan to fix this issue? Meet the same problem here.
Also experiencing the same issue. Not a major problem, but a fix would be nice.
still a problem in version 5.4.2, very impacting on usability
Q&A (please complete the following information)
Content & configuration
openapi2.json.txt
The path GET /definition/template/adl1.4/{template_id} retrieves an XML that is 1.5 MB long.
Swagger-UI configuration options:
Describe the bug you're encountering
Call to the endpoint freezes the whole page and stays in "LOADING" forever.
In the JS console I see this trace from highlight.js:
Maybe this is not a swagger-ui issue per se, it seems the highlight lib doesn't have the power to handle the big XML.
Can highlight be disabled to test?
To reproduce...
The API is not public so it can't be reproduced publicly. Internally what I do is:
Expected behavior
Avoid freezing.
Screenshots
See above.
Additional context or thoughts
Allow to disable the response highlight to test.