2020-12-03 21:09:16 +01:00
|
|
|
<!DOCTYPE html>
|
2021-01-06 14:24:39 +01:00
|
|
|
<html>
|
2020-12-03 21:09:16 +01:00
|
|
|
<head>
|
2021-01-06 14:24:39 +01:00
|
|
|
<title>ReDoc</title>
|
|
|
|
<!-- needed for adaptive design -->
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
|
|
|
|
|
|
|
<!--
|
|
|
|
ReDoc doesn't change outer page styles
|
|
|
|
-->
|
2020-12-03 21:09:16 +01:00
|
|
|
<style>
|
2021-01-06 14:24:39 +01:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-12-03 21:09:16 +01:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2021-01-06 14:24:39 +01:00
|
|
|
<!-- ### DEFAULT REDOC - NO 'TRY' FEATURE -->
|
|
|
|
<!-- <redoc spec-url='openapi.yaml'></redoc> -->
|
|
|
|
<!-- <script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script> -->
|
|
|
|
<!-- ### REDOC WITH SWAGGER UI'S 'TRY' FEATURE WITHIN REDOC -->
|
|
|
|
<!-- From https://github.com/wll8/redoc-try -->
|
|
|
|
<div id="redoc-container"></div>
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/redoc@2.0.0-rc.28/bundles/redoc.standalone.min.js"> </script>
|
|
|
|
<script src="//cdn.jsdelivr.net/gh/wll8/redoc-try/dist/try.js"></script>
|
|
|
|
<script>
|
|
|
|
var unleashRedoc = {
|
|
|
|
openApi: `openapi.yaml`,
|
|
|
|
onlySwagger: false, // Set to true to switch to Swagger UI output
|
|
|
|
tryText: `Try it out`, // Try button text
|
|
|
|
trySwaggerInApi: false, // Do not display Swagger debugging window under API
|
|
|
|
redocOptions: {hideDownloadButton: true, noAutoAuth: true, sortPropsAlphabetically: true, theme: {spacing: {sectionVertical: '5px',}},},
|
|
|
|
swaggerOptions: {dom_id: `#swagger-ui`},
|
|
|
|
}
|
|
|
|
initTry(unleashRedoc);
|
|
|
|
</script>
|
2020-12-03 21:09:16 +01:00
|
|
|
|
|
|
|
</body>
|
2021-01-06 14:24:39 +01:00
|
|
|
</html>
|