redoc settings

pull/1/head
bvn13 2021-05-04 13:20:41 +03:00
parent e6cbbe290e
commit 9f91e4dee4
1 changed files with 16 additions and 2 deletions

View File

@ -18,8 +18,22 @@
</style>
</head>
<body>
<!-- <redoc spec-url='https://gist.githubusercontent.com/bvn13/d5756a07eb59ad380b0403780bf791ef/raw/2baceb8d6e0ac6c11422c67d5a589d885e004204/gistfile1.txt'></redoc> -->
<redoc spec-url='https://bvn13.github.io/pf-waas-api/waas-api.json'></redoc>
<redoc spec-url=''></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
<script>
if (document.readyState == 'loading') {
document.addEventListener("DOMContentLoaded", () => initRedoc());
} else {
initRedoc();
}
var api_url = 'https://bvn13.github.io/pf-waas-api/waas-api.json';
function initRedoc() {
Redoc.init(api_url, {"pathInMiddlePanel":true});
}
</script>
</body>
</html>