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. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4e61ec4..c26a6cd 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ coordination on it. ```sh # The transports are cargo features: mycelium, libp2p, tor (any, at least one); -# dashboard adds the live page (`/admin/dashboard`). +# dashboard adds the live page (`/admin/dashboard`), swagger-ui a page showing the API +# (`/swagger-ui`). cargo build --release --features mycelium,dashboard # An HTTP API user (Argon2 hash; e.g. with the `argon2` command-line tool). @@ -112,7 +113,7 @@ What changed from one release to the next: [`CHANGELOG.md`](CHANGELOG.md). * [`docs/api.md`](docs/api.md): the store API for applications: consistency, concurrent writes, streams. * [`docs/openapi.yaml`](docs/openapi.yaml): the HTTP API (also served at `/openapi.yaml`, with a Swagger - UI at `/swagger-ui`). + UI at `/swagger-ui` in a build with the feature `swagger-ui`). **Working on continuum** -- cgit v1.3.1