diff options
Diffstat (limited to 'rust/swagger-ui/index.html')
| -rw-r--r-- | rust/swagger-ui/index.html | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/rust/swagger-ui/index.html b/rust/swagger-ui/index.html index 7a45f1d5..14d3d48a 100644 --- a/rust/swagger-ui/index.html +++ b/rust/swagger-ui/index.html @@ -1,13 +1,15 @@ -<!-- HTML for static distribution bundle build -->  <!DOCTYPE html>  <html lang="en"> +  <!-- HTML for static distribution bundle build -->    <head>      <meta charset="UTF-8">      <title>Swagger UI</title>      <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet"> -    <link rel="stylesheet" type="text/css" href="./swagger-ui.css" > +    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.15.0/swagger-ui.css" > +    <!--      <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />      <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> +    -->      <style>        html        { @@ -34,14 +36,14 @@    <body>      <div id="swagger-ui"></div> -    <script src="./swagger-ui-bundle.js"> </script> -    <script src="./swagger-ui-standalone-preset.js"> </script> +    <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.15.0/swagger-ui-bundle.js"> </script> +    <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.15.0/swagger-ui-standalone-preset.js"> </script>      <script>      window.onload = function() {        // Build a system        const ui = SwaggerUIBundle({ -        url: "http://petstore.swagger.io/v2/swagger.json", +        url: "/v0/openapi2.yml",          dom_id: '#swagger-ui',          deepLinking: true,          presets: [  | 
