docs: refresh config schema mirrors

This commit is contained in:
Peter Steinberger
2026-04-04 20:14:25 +01:00
parent c2027d9de2
commit 8eb1ea5b2e
5 changed files with 30 additions and 6 deletions

View File

@@ -48,7 +48,14 @@ openclaw config validate --json
### `config schema`
Print the generated JSON schema for `openclaw.json` to stdout as plain text.
Print the generated JSON schema for `openclaw.json` to stdout as JSON.
What it includes:
- The current root config schema, plus a root `$schema` string field for editor tooling
- Field `title` and `description` metadata derived from the same labels/help used by the Control UI
- Best-effort live plugin + channel schema metadata when runtime manifests can be loaded
- A clean fallback schema even when the current config is invalid
```bash
openclaw config schema

View File

@@ -577,7 +577,7 @@ Subcommands:
- `config set --strict-json`: require JSON5 parsing for path/value input. `--json` remains a legacy alias for strict parsing outside dry-run output mode.
- `config unset <path>`: remove a value.
- `config file`: print the active config file path.
- `config schema`: print the generated JSON schema for `openclaw.json`.
- `config schema`: print the generated JSON schema for `openclaw.json`, including field docs and best-effort live plugin/channel schema metadata.
- `config validate`: validate the current config against the schema without starting the gateway.
- `config validate --json`: emit machine-readable JSON output.