Renders a self-contained Swagger UI HTML page that loads a spec from specUrl.
specUrl
Return it from an HTML route (e.g. GET /docs) while another route serves the JSON document (OpenApiGenerator.build()), for a zero-build API explorer.
GET /docs
OpenApiGenerator.build()
The URL of the OpenAPI JSON document.
Rendering options.
The HTML page.
Renders a self-contained Swagger UI HTML page that loads a spec from
specUrl.Return it from an HTML route (e.g.
GET /docs) while another route serves the JSON document (OpenApiGenerator.build()), for a zero-build API explorer.