From 97913730e1a4cb1dddfc2741160e2c4eae513243 Mon Sep 17 00:00:00 2001 From: kexkey Date: Fri, 6 Dec 2019 16:55:30 -0500 Subject: [PATCH] Adjust optional fields in docs --- doc/API.v0.md | 2 +- doc/openapi/v0/cyphernode-api.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/API.v0.md b/doc/API.v0.md index 809b916..03fa6de 100644 --- a/doc/API.v0.md +++ b/doc/API.v0.md @@ -786,7 +786,7 @@ Proxy response: ### Create a Lightning Network invoice (called by application) -Returns a LN invoice. Label must be unique. Description will be used by your user for payment. Expiry is in seconds. If msatoshi is not supplied, will use "any" (ie donation invoice). callbackUrl is optional. +Returns a LN invoice. Label must be unique. Description will be used by your user for payment. Expiry is in seconds and optional. If msatoshi is not supplied, will use "any" (ie donation invoice). callbackUrl is optional. ```http POST http://cyphernode:8888/ln_create_invoice diff --git a/doc/openapi/v0/cyphernode-api.yaml b/doc/openapi/v0/cyphernode-api.yaml index 8418a2d..63f1053 100644 --- a/doc/openapi/v0/cyphernode-api.yaml +++ b/doc/openapi/v0/cyphernode-api.yaml @@ -1389,7 +1389,6 @@ paths: required: - "label" - "description" - - "expiry" properties: msatoshi: type: "integer"