From 1de11da61a106187748c4b79e1d7b63e3b9d172f Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 2 Dec 2026 01:16:49 +0000 Subject: The Swagger UI is a feature, swagger-ui, and not among most 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. --- docs/development.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/development.md') 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 -- cgit v1.3.1