redoc settings
parent
e6cbbe290e
commit
9f91e4dee4
18
index.html
18
index.html
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue