Formatting

This commit is contained in:
Antoine Gersant 2019-09-28 00:14:48 -07:00
parent f2e6a27c0e
commit 01af2ee742

View file

@ -1,42 +1,40 @@
<!-- HTML for static distribution bundle build --> <!-- HTML for static distribution bundle build -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<meta charset="UTF-8">
<title>Polaris 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;
}
*, <head>
*:before, <meta charset="UTF-8">
*:after <title>Polaris Swagger UI</title>
{ <link rel="stylesheet" type="text/css" href="swagger-ui.css">
box-sizing: inherit; <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;
}
body *,
{ *:before,
margin:0; *:after {
background: #fafafa; box-sizing: inherit;
} }
</style>
</head>
<body> body {
<div id="swagger-ui"></div> margin: 0;
background: #fafafa;
}
</style>
</head>
<script src="swagger-ui-bundle.js"> </script> <body>
<script src="swagger-ui-standalone-preset.js"> </script> <div id="swagger-ui"></div>
<script>
window.onload = function() { <script src="swagger-ui-bundle.js"> </script>
<script src="swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function () {
// Begin Swagger UI call region // Begin Swagger UI call region
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: "polaris-api.json", url: "polaris-api.json",
@ -56,5 +54,6 @@
window.ui = ui window.ui = ui
} }
</script> </script>
</body> </body>
</html> </html>