You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.5 KiB

  1. <!-- HTML for static distribution bundle build -->
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>Swagger UI</title>
  7. <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
  8. <link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
  9. <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
  10. <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
  11. <style>
  12. html
  13. {
  14. box-sizing: border-box;
  15. overflow: -moz-scrollbars-vertical;
  16. overflow-y: scroll;
  17. }
  18. *,
  19. *:before,
  20. *:after
  21. {
  22. box-sizing: inherit;
  23. }
  24. body
  25. {
  26. margin:0;
  27. background: #fafafa;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <div id="swagger-ui"></div>
  33. <script src="./swagger-ui-bundle.js"> </script>
  34. <script src="./swagger-ui-standalone-preset.js"> </script>
  35. <script>
  36. window.onload = function() {
  37. // Build a system
  38. const ui = SwaggerUIBundle({
  39. url: "../../../swagger.v1.json",
  40. dom_id: '#swagger-ui',
  41. deepLinking: true,
  42. presets: [
  43. SwaggerUIBundle.presets.apis,
  44. SwaggerUIStandalonePreset
  45. ],
  46. plugins: [
  47. SwaggerUIBundle.plugins.DownloadUrl
  48. ],
  49. layout: "StandaloneLayout"
  50. })
  51. window.ui = ui
  52. }
  53. </script>
  54. </body>
  55. </html>