openvpn-install/openvpn_ui/resource/static/swagger-ui/swagger.html
2024-05-15 18:36:45 +08:00

30 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="https://cbec-business-lopzjdhfib.cn-shanghai.fcapp.run/static/swagger-ui.css">
<link rel="shortcut icon" href="https://fastapi.tiangolo.com/img/favicon.png">
<title>Space - Swagger UI</title>
</head>
<body>
<div id="swagger-ui">
</div>
<script src="https://cbec-business-lopzjdhfib.cn-shanghai.fcapp.run/static/swagger-ui-bundle.js"></script>
<!-- `SwaggerUIBundle` is now available on the page -->
<script>
const ui = SwaggerUIBundle({
url: 'https://cbec-business-lopzjdhfib.cn-shanghai.fcapp.run/api/openapi.json',
oauth2RedirectUrl: 'https://cbec-business-lopzjdhfib.cn-shanghai.fcapp.run/docs/oauth2-redirect',
<!-- oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',-->
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
layout: "BaseLayout",
deepLinking: true
})
</script>
</body>
</html>