From bdf7ce44969ab603422721e9fd7955c602813941 Mon Sep 17 00:00:00 2001 From: Max Kurapov Date: Wed, 7 Dec 2022 15:03:25 +0100 Subject: [PATCH 1/3] feat: add form style to pagination params --- openapi/resource-server.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi/resource-server.yaml b/openapi/resource-server.yaml index d551827f..717be2b1 100644 --- a/openapi/resource-server.yaml +++ b/openapi/resource-server.yaml @@ -324,6 +324,7 @@ paths: in: query name: pagination description: Pagination parameters + style: form - $ref: '#/components/parameters/signature-input' - $ref: '#/components/parameters/signature' tags: From c02dfc5f34f5ad501d1b9339f71869fc4736a4e8 Mon Sep 17 00:00:00 2001 From: Max Kurapov Date: Wed, 7 Dec 2022 15:08:30 +0100 Subject: [PATCH 2/3] feat: convert pagination to a parameter --- openapi/resource-server.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/openapi/resource-server.yaml b/openapi/resource-server.yaml index 717be2b1..10fb9067 100644 --- a/openapi/resource-server.yaml +++ b/openapi/resource-server.yaml @@ -319,12 +319,7 @@ paths: $ref: '#/components/responses/403' description: List all incoming payments on the payment pointer parameters: - - schema: - $ref: '#/components/schemas/pagination' - in: query - name: pagination - description: Pagination parameters - style: form + - $ref: '#/components/parameters/pagination' - $ref: '#/components/parameters/signature-input' - $ref: '#/components/parameters/signature' tags: @@ -1322,6 +1317,13 @@ components: '403': description: Forbidden parameters: + pagination: + schema: + $ref: '#/components/schemas/pagination' + in: query + name: pagination + description: Pagination parameters + style: form id: name: id in: path From 9e344615316dadc8a7c972dc891c3b1e11d6bf7d Mon Sep 17 00:00:00 2001 From: Max Kurapov Date: Wed, 7 Dec 2022 15:11:16 +0100 Subject: [PATCH 3/3] feat: update outgoing payments list params --- openapi/resource-server.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/openapi/resource-server.yaml b/openapi/resource-server.yaml index 10fb9067..60d9e3b3 100644 --- a/openapi/resource-server.yaml +++ b/openapi/resource-server.yaml @@ -517,11 +517,7 @@ paths: $ref: '#/components/responses/403' description: List all outgoing payments on the payment pointer parameters: - - schema: - $ref: '#/components/schemas/pagination' - in: query - name: pagination - description: Pagination parameters + - $ref: '#/components/parameters/pagination' - $ref: '#/components/parameters/signature-input' - $ref: '#/components/parameters/signature' tags: