pub const SWAGGER_HTML: &str = r##"<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Delonix Seiva — API reference (Swagger UI)</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist/swagger-ui.css" />
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist/swagger-ui-bundle.js"></script>
<script>
window.onload = function () {
window.ui = SwaggerUIBundle({
url: "/openapi.json",
dom_id: "#swagger-ui",
deepLinking: true,
tryItOutEnabled: true,
});
};
</script>
</body>
</html>
"##;Expand description
GET /docs — Swagger UI over the service’s /openapi.json. This is the
FastAPI-identical route and renderer: the same page a FastAPI developer
reaches at /docs, so the muscle memory transfers.