API documented: hand-written OpenAPI 3.1 spec for every route in api/server.js (passkeys, sync, push, pairing, admin), Swagger-UI page api.html on the site, API link in the nav

This commit is contained in:
Duarte Santos committed 2026-08-31 11:06:13 +02:00
1 parent 887a036832
commit f2b3a0f028
7 files changed
+1610

No files matched your search

+2
View File
@@ -22,6 +22,7 @@
openGym
</a>
<div class="nav-quick">
<a class="ql" href="api.html">API</a>
<a class="ql" href="https://gitlab.com/DuarteSantos8/opengym" rel="noopener">GitLab <span data-gh="stars"></span></a>
<a class="ql" href="https://discord.gg/e62jY6fwVb" rel="noopener">Discord</a>
<a class="cta" href="/#download">Download</a>
@@ -45,6 +46,7 @@
<a class="side-link" href="#faq"><b>FAQ</b><span>Free, private, no stores</span></a>
<p class="side-label">More</p>
<a class="side-link" href="/"><b>Home</b><span>The tour, the demo, the download</span></a>
<a class="side-link" href="api.html"><b>API</b><span>Every route, as an OpenAPI spec</span></a>
<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a>
</aside>