specification/quantum/Quantum.Workspace/eng/swagger-ui/swagger-ui.html (34 lines of code) (raw):
<!doctype html>
<html lang="en">
<head>
<title>SwaggerUI</title>
<link
rel="stylesheet"
href="https://unpkg.com/swagger-ui-dist@5.3.2/swagger-ui.css"
/>
</head>
<body>
<div id="swagger-ui"></div>
<script src="spec.js" type="text/javascript"></script>
<script
src="https://unpkg.com/swagger-ui-dist@5.3.2/swagger-ui-bundle.js"
crossorigin
></script>
<script
src="https://unpkg.com/swagger-ui-dist@5.3.2/swagger-ui-standalone-preset.js"
crossorigin
></script>
<script>
window.onload = () => {
window.ui = SwaggerUIBundle({
spec: spec,
dom_id: "#swagger-ui",
deepLinking: true,
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
plugins: [SwaggerUIBundle.plugins.DownloadUrl],
layout: "StandaloneLayout",
});
};
</script>
</body>
</html>