34 lines
1.0 KiB
HTML
34 lines
1.0 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
|
<title>BOC API Documentation</title>
|
||
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.10.0/swagger-ui.css">
|
||
|
|
<style>
|
||
|
|
body { margin: 0; padding: 0; }
|
||
|
|
#swagger-ui { max-width: 1200px; margin: 0 auto; }
|
||
|
|
.topbar { display: none; }
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="swagger-ui"></div>
|
||
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/5.10.0/swagger-ui-bundle.js"></script>
|
||
|
|
<script>
|
||
|
|
window.onload = function() {
|
||
|
|
SwaggerUIBundle({
|
||
|
|
url: '/swagger.json',
|
||
|
|
dom_id: '#swagger-ui',
|
||
|
|
deepLinking: true,
|
||
|
|
presets: [
|
||
|
|
SwaggerUIBundle.presets.apis,
|
||
|
|
SwaggerUIBundle.presets.standalone
|
||
|
|
],
|
||
|
|
layout: "BaseLayout",
|
||
|
|
validatorUrl: null
|
||
|
|
});
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
</body>
|
||
|
|
</html>
|