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.

60 lines
1.4 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 rel="stylesheet" type="text/css" href="./swagger-ui.css" >
  8. <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
  9. <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
  10. <style>
  11. html
  12. {
  13. box-sizing: border-box;
  14. overflow: -moz-scrollbars-vertical;
  15. overflow-y: scroll;
  16. }
  17. *,
  18. *:before,
  19. *:after
  20. {
  21. box-sizing: inherit;
  22. }
  23. body
  24. {
  25. margin:0;
  26. background: #fafafa;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <div id="swagger-ui"></div>
  32. <script src="./swagger-ui-bundle.js"> </script>
  33. <script src="./swagger-ui-standalone-preset.js"> </script>
  34. <script>
  35. window.onload = function() {
  36. // Begin Swagger UI call region
  37. const ui = SwaggerUIBundle({
  38. url: "../../../swagger.v1.json",
  39. dom_id: '#swagger-ui',
  40. deepLinking: true,
  41. presets: [
  42. SwaggerUIBundle.presets.apis,
  43. SwaggerUIStandalonePreset
  44. ],
  45. plugins: [
  46. SwaggerUIBundle.plugins.DownloadUrl
  47. ],
  48. layout: "StandaloneLayout"
  49. })
  50. // End Swagger UI call region
  51. window.ui = ui
  52. }
  53. </script>
  54. </body>
  55. </html>