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/architecture.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/architecture.md') diff --git a/docs/architecture.md b/docs/architecture.md index 124fcf5..00db38a 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -163,7 +163,7 @@ Prometheus), `document` (backup export), `log` (filter at runtime), `config` Argon2), [`dashboard/`](../src/api/dashboard/) (with the `dashboard` feature: the page and its events; [`dashboard.md`](dashboard.md)), and [`mod.rs`](../src/api/mod.rs) (router, protocol-path rules). The remake routes come from [`remake/api.rs`](../src/remake/api.rs). [`docs/openapi.yaml`](openapi.yaml) describes it all; nodes serve it at -`/openapi.yaml`, with a Swagger UI at `/swagger-ui`. +`/openapi.yaml`, with a Swagger UI at `/swagger-ui` where built with the feature `swagger-ui`. **Top level** — continuum is a library: its `run` ([`lib.rs`](../src/lib.rs)), which the node's binary ([`main.rs`](../src/main.rs)) calls, reads the configuration, picks the starting document and -- cgit v1.3.1