Files
swagger-ui/test/e2e-cypress/static/pages/5085/index.html
2022-02-01 16:25:52 -08:00

1.6 KiB

<html lang="en"> <head> <style> html { box-sizing: border-box; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } *, *:before, *:after { box-sizing: inherit; } body { margin:0; background: #fafafa; } </style> </head>
<script src="/swagger-ui-bundle.js" charset="UTF-8"> </script> <script src="/swagger-ui-standalone-preset.js" charset="UTF-8"> </script> <script> window.onload = function() { window["SwaggerUIBundle"] = window["swagger-ui-bundle"] window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"] // Build a system const ui = SwaggerUIBundle({ url: "https://petstore.swagger.io/v2/swagger.json", dom_id: '#swagger-ui', presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: SwaggerUIStandalonePreset ? "StandaloneLayout" : "BaseLayout", onComplete: () => { if(window.completeCount) { window.completeCount++ } else { window.completeCount = 1 } } }) window.ui = ui } </script> </html>