waku-rest-api/index.html

30 lines
1.6 KiB
HTML
Raw Permalink Normal View History

2023-10-27 08:45:46 +00:00
<!doctype html> <!-- Important: must specify -->
<html>
<head>
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
<!-- <script type="module" src="./dist2/rapidoc-min.js"></script> -->
<script type="text/javascript" src="./dist/rapidoc-min.js"></script>
<title>Waku API documentation</title>
</head>
<body>
<rapi-doc id="wakuapi" show-info="true" spec-url="https://raw.githubusercontent.com/waku-org/waku-rest-api/master/api-spec/openapi.yaml"
2023-10-27 08:45:46 +00:00
show-header="false" render-style="focused" theme="dark" allow-authentication="false" allow-try="true"
show-curl-before-try="true" schema-style="table" schema-expand-level="full" default-schema-tab="schema"
show-method-in-nav-bar="as-colored-block"
2023-10-27 14:37:39 +00:00
server-url="http://127.0.0.1:8645"
2023-10-27 08:45:46 +00:00
regular-font="Open Sans" mono-font="Roboto Mono" use-path-in-nav-bar="true">
<div slot="nav-logo">
<div style="display: flex; align-items: center; justify-content: center;">
<img src = "./waku_logo.png" style="width:40px; margin-right: 20px; margin-bottom: 20px;"> <span style="color:#fff"> <b>Waku API</b><br></span>
</div>
<div style="width:100%; display: flex;justify-content: center;">
<button class="btn medium" onclick="document.getElementById('wakuapi').setAttribute('use-path-in-nav-bar', 'true')">Path</button>
<button class="btn medium" onclick="document.getElementById('wakuapi').setAttribute('use-path-in-nav-bar', 'false')">Summary</button>
</div>
</div>
</rapi-doc>
</body>
<!-- <footer>
<p>Powered by <a href="https://rapidocweb.com">RapiDoc OpenAPI Spec Documentations</a></p>
</footer> -->
</html>