aboutsummaryrefslogtreecommitdiffstats
path: root/docs/development.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/development.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/development.md')
-rw-r--r--docs/development.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/development.md b/docs/development.md
index 7a8f7e6..b782511 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -22,6 +22,11 @@ and dependencies with it (`--features libp2p` builds neither `reqwest` and the d
supervision of Mycelium, nor arti; among Mycelium's tests is a swarm simulated on its
envelope).
+The Swagger UI (`/swagger-ui`) is a feature too, `swagger-ui`, and not among `most`: its
+files, some megabytes, are built into the node, and its build fetches them from GitHub
+(`SWAGGER_UI_DOWNLOAD_URL` names another place, a `file://` URL among them). A node
+without it serves the API's description alone (`/openapi.yaml`).
+
The benchmarks are ignored tests named `bench_*`: the document's (writes and sync
messages, what signing and checking every change would cost: `bench_change_signatures`,
knowing every change's paths: `bench_change_paths`, and judging every change while