| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | |
| 4 | <head> |
| 5 | <meta charset="utf-8" /> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | <title>OpenAPI specification</title> |
| 8 | <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> |
| 9 | <style> |
| 10 | body { |
| 11 | margin: 0; |
| 12 | padding: 0; |
| 13 | } |
| 14 | |
| 15 | </style> |
| 16 | <script defer="defer" src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script> |
| 17 | <script defer="defer"> |
| 18 | document.addEventListener("DOMContentLoaded", function () { |
| 19 | spec = { /* OPENAPI_SPECIFICATION */ }; |
| 20 | options = { |
| 21 | downloadFileName: "openapi.json", |
| 22 | expandResponses: "200", |
| 23 | expandSingleSchemaField: true, |
| 24 | jsonSampleExpandLevel: "all", |
| 25 | schemaExpansionLevel: "all", |
| 26 | }; |
| 27 | element = document.getElementById("openapi-container"); |
| 28 | Redoc.init(spec, options, element); |
| 29 | |
| 30 | if (spec.info && spec.info.title) { |
| 31 | document.title = spec.info.title; |
| 32 | } |
| 33 | }); |
| 34 | </script> |
| 35 | </head> |
| 36 | |
| 37 | <body> |
| 38 | <div id="openapi-container"></div> |
| 39 | </body> |
| 40 | |
| 41 | </html> |