mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
28 lines
606 B
Cheetah
28 lines
606 B
Cheetah
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta
|
|
name="description"
|
|
content="SwaggerUI"
|
|
/>
|
|
<title>PENPOT Swagger UI</title>
|
|
<style>{{swagger-css|safe}}</style>
|
|
</head>
|
|
<body>
|
|
<div id="swagger-ui"></div>
|
|
<script>{{swagger-js|safe}}</script>
|
|
<script>
|
|
window.onload = () => {
|
|
window.ui = SwaggerUIBundle({
|
|
url: '{{public-uri}}/api/openapi.json',
|
|
dom_id: '#swagger-ui',
|
|
presets: [
|
|
SwaggerUIBundle.presets.apis,
|
|
],
|
|
});
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|