Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions cloudnet-rest-module/src/main/resources/documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,23 @@
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
</head>
<body>
<rapi-doc spec-url="swagger.yaml" theme="dark" bg-color="#14191f" text-color="#aec2e0" primary-color="#00ACE5" show-header="false">
<div slot="nav-logo" style="display: flex; align-items: center; justify-content: center;">
<img src="logo.svg" style="width:40px; margin-right: 20px" alt="CloudNet Logo"> <span style="color:#fff"><b>CloudNetService</b></span>
</div>
</rapi-doc>
<rapi-doc
spec-url="swagger.yaml"
theme="dark"
bg-color="#14191f"
text-color="#aec2e0"
primary-color="#00ACE5"
render-style="read"
show-header="false"
allow-spec-url-load="false"
allow-spec-file-load="false"
allow-spec-file-download="true"
show-curl-before-try="true"
show-method-in-nav-bar="as-colored-block"
>
<div slot="nav-logo" style="display: flex; align-items: center; justify-content: center;">
<img src="logo.svg" style="width:40px; margin-right: 10px" alt="CloudNet Logo"> <span style="color:#fff"><b>CloudNetService</b></span>
</div>
</rapi-doc>
</body>
</html>
Loading