28 lines
981 B
HTML
28 lines
981 B
HTML
<!DOCTYPE html>
|
||
<html lang="de">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>API-Dokumentation – Swagger UI</title>
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css">
|
||
<style>
|
||
body { margin: 0; background: #f8fafc; }
|
||
#swagger-ui { max-width: 900px; margin: 2em auto; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(30,41,59,0.07); }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div id="swagger-ui"></div>
|
||
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui-bundle.js"></script>
|
||
<script>
|
||
window.onload = function() {
|
||
SwaggerUIBundle({
|
||
url: '/static/swagger.json',
|
||
dom_id: '#swagger-ui',
|
||
presets: [SwaggerUIBundle.presets.apis],
|
||
layout: "BaseLayout",
|
||
docExpansion: 'list',
|
||
defaultModelsExpandDepth: 1
|
||
});
|
||
};
|
||
</script>
|
||
</body>
|
||
</html> |