From 6438ee41267bfb7f7adb1f9fd938ee744dfb3840 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 8 Sep 2022 11:31:11 +0930 Subject: [PATCH] doc: disallow additional properties in sendcustommsg. We have to scatter this everywhere in our schemas, as there's no way to make it the default :( Signed-off-by: Rusty Russell --- doc/lightning-sendcustommsg.7.md | 2 +- doc/schemas/sendcustommsg.schema.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/lightning-sendcustommsg.7.md b/doc/lightning-sendcustommsg.7.md index 90966d78a..10e15a604 100644 --- a/doc/lightning-sendcustommsg.7.md +++ b/doc/lightning-sendcustommsg.7.md @@ -69,4 +69,4 @@ RESOURCES Main web site: -[comment]: # ( SHA256STAMP:5e21c81225dce83b231d8625e0da8e1fedc17a3b76c0109b6e84bae4a4422905) +[comment]: # ( SHA256STAMP:fded86dbe217eacf0c170db87140fd5f10f23c22760ac08b7aa4d2faa4764b3a) diff --git a/doc/schemas/sendcustommsg.schema.json b/doc/schemas/sendcustommsg.schema.json index cc61e6190..3c9db46a3 100644 --- a/doc/schemas/sendcustommsg.schema.json +++ b/doc/schemas/sendcustommsg.schema.json @@ -1,6 +1,7 @@ { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "additionalProperties": false, "required": [ "status" ],