From 4380a1adf6af364deb494207afd42216245e8542 Mon Sep 17 00:00:00 2001 From: Nathan Lie Date: Tue, 26 Sep 2023 12:48:41 -0700 Subject: [PATCH] fix: use correct parameter field --- openapi/resource-server.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/openapi/resource-server.yaml b/openapi/resource-server.yaml index d8524c6a..fa2076a7 100644 --- a/openapi/resource-server.yaml +++ b/openapi/resource-server.yaml @@ -591,12 +591,6 @@ paths: - $ref: '#/components/parameters/signature' description: Create a new quote at the wallet address. '/incoming-payments/{id}': - parameters: - - schema: - type: string - name: walletAddress - in: query - required: true get: summary: Get an Incoming Payment tags: @@ -642,6 +636,11 @@ paths: - $ref: '#/components/parameters/optional-signature' description: A client can fetch the latest state of an incoming payment to determine the amount received into the wallet address. parameters: + - schema: + type: string + name: walletAddress + in: query + required: true - $ref: '#/components/parameters/id' '/incoming-payments/{id}/complete': post: @@ -693,12 +692,6 @@ paths: parameters: - $ref: '#/components/parameters/id' '/outgoing-payments/{id}': - parameters: - - schema: - type: string - name: walletAddress - in: query - required: true get: summary: Get an Outgoing Payment tags: @@ -746,6 +739,11 @@ paths: - $ref: '#/components/parameters/signature-input' - $ref: '#/components/parameters/signature' parameters: + - schema: + type: string + name: walletAddress + in: query + required: true - $ref: '#/components/parameters/id' '/quotes/{id}': get: