Rusty Russell
2c41c5d52d
doc: use specific types in schema rather than "hex".
...
We have "secret" and "hash" types which are often more appropriate.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00
Christian Decker
cb3ee0ac2e
wallet: Load and value completed_at
timestamp from DB
2022-09-14 13:14:10 +02:00
Rusty Russell
e47786da04
pay/sendpay: also store description in case bolt11 uses description_hash.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-04 20:26:04 +09:30
Vincenzo Palazzo
bd3c0ef85c
jsonschema: Formatting json schema and regenerate docs
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-11-28 10:55:48 +10:30
Christian Decker
511cb14fbe
doc: Add missing amount_sent_msat
to listpays
2021-10-13 13:41:18 +10:30
Rusty Russell
fdb4953fa9
doc/schemas: generate manpage section from schema.
...
We start with the listpays manpage. Which is now complete!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-27 20:28:49 +09:30
Rusty Russell
ea99a05249
pytest: add schema support for JSON responses.
...
This adds our first (basic) schema, and sews support into pyln-testing
so it will load schemas for any method for doc/schemas/{method}.schema.json.
All JSON responses in a test run are checked against the schema (if any).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-27 20:28:49 +09:30