forgejo-federation/public/vendor/assets/swagger-ui/index.html

61 lines
1.4 KiB
HTML
Raw Normal View History

<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
2018-04-20 14:43:50 +05:30
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
body
{
margin:0;
background: #fafafa;
}
</style>
</head>
<body>
<div id="swagger-ui"></div>
<script src="./swagger-ui-bundle.js"> </script>
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {
2019-04-17 08:20:55 +05:30
// Begin Swagger UI call region
2018-04-20 14:43:50 +05:30
const ui = SwaggerUIBundle({
url: "../../../swagger.v1.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
})
2019-04-17 08:20:55 +05:30
// End Swagger UI call region
2018-04-20 14:43:50 +05:30
window.ui = ui
}
2018-04-20 14:43:50 +05:30
</script>
</body>
</html>