mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
Without this, we have hardly any enforcement. This is why the schema mistake fixed in the previous patches weren't spotted immediately. The hard work was done by: ``` $ for f in lightning-*.json; do grep -v '^ "additionalProperties": false,' $f | bagto $f; done $ for f in lightning-*.json; do sed 's/"properties": {/"additionalProperties": false, "properties": {/' $f | bagto $f; done $ make fmt-schemas ``` Then checking where 'additionalProperties: true' had been turned to false (we deliberately use it in some places where there are if statements in the schema, or occasionally where there can be arbitrary fields). [Including doc/rpc-schema-draft.json update by Shahana] Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
beginners-guide | ||
contribute-to-core-lightning | ||
developers-guide | ||
getting-started | ||
miscellaneous | ||
node-operators-guide | ||
schemas | ||
.gitignore | ||
CHANGELOG.md | ||
index.rst | ||
LICENSE.md | ||
lightning-cli.1.md | ||
lightning-hsmtool.8.md | ||
lightningd-config.5.md | ||
lightningd-rpc.7.md | ||
lightningd.8.md | ||
Makefile | ||
reckless.7.md | ||
rpc-schema-draft.json | ||
undoc-flags.list |