aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-02 01:16:49 +0000
committertv <tv@krebsco.de>2026-12-02 01:16:49 +0000
commit1de11da61a106187748c4b79e1d7b63e3b9d172f (patch)
treec1cebe37b1b0b8d9a915935e004267d2a2da4f52 /docs/api.md
parent6d3dbcb129b67152c89bbbe2a7dad98b071bf838 (diff)
The Swagger UI is a feature, swagger-ui, and not among mostHEADmaster
Its files were built into every node, some megabytes of each binary, and its build fetches them from GitHub. A build that is to serve /swagger-ui names the feature; /openapi.yaml is served as before. Development builds (most) leave it out.
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 957030f..75442b3 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -2,7 +2,8 @@
What an application can rely on when it reads and writes through a node's HTTP API. The
endpoints and their answers, one by one, are in [`openapi.yaml`](openapi.yaml) (served by every node at
-`/openapi.yaml`, with a Swagger UI at `/swagger-ui`); this page is about what they mean
+`/openapi.yaml`, and shown by a Swagger UI at `/swagger-ui` where a node is built with the
+feature `swagger-ui`); this page is about what they mean
together.
## The model