api/public/index.html
28 lines · 848 bytes
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Awesome Privacy API Documentation</title>
6 <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.1.3/swagger-ui.css" >
7 <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.1.3/swagger-ui-bundle.js"></script>
8</head>
9<body>
10 <div id="swagger-ui"></div>
11 <script>
12 window.onload = () => {
13 SwaggerUIBundle({
14 url: 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/open-api-spec.yml',
15 dom_id: '#swagger-ui',
16 deepLinking: true,
17 presets: [
18 SwaggerUIBundle.presets.apis,
19 SwaggerUIBundle.SwaggerUIStandalonePreset
20 ],
21 plugins: [
22 SwaggerUIBundle.plugins.DownloadUrl
23 ]
24 });
25 }
26 </script>
27</body>
28</html>