micronaut-openapi
micronaut-openapi copied to clipboard
Swagger UI is using external resources
Expected Behavior
When using swagger-ui.enabled=true swagger should be entirely self-contained, not depending on any external resources.
Actual Behaviour
The UI requires external resources, see screenshot below:

This is an issue for multiple reasons:
- It leaks internal urls to an external CDN
- unpkg.com is very slow (for whatever reason) causing up to 40 seconds to load
Steps To Reproduce
- Enable swagger ui:
swagger-ui.enabled=true - Open swagger-ui and look at the requests
Environment Information
No response
Example Application
No response
Version
3.5.3