From 8954e8a2180d20719b1bb0d4f77081ff03fd9b43 Mon Sep 17 00:00:00 2001 From: Shashank Kumar Date: Tue, 10 Dec 2024 16:05:59 +0530 Subject: [PATCH] fix(docs): incorrect description for refund api (#6443) Signed-off-by: Shashank Kumar --- api-reference/openapi_spec.json | 2 +- crates/openapi/src/routes/refunds.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/openapi_spec.json b/api-reference/openapi_spec.json index 3f3ffc17a183..2dced0998e92 100644 --- a/api-reference/openapi_spec.json +++ b/api-reference/openapi_spec.json @@ -1116,7 +1116,7 @@ "Refunds" ], "summary": "Refunds - List", - "description": "Lists all the refunds associated with the merchant or a payment_id if payment_id is not provided", + "description": "Lists all the refunds associated with the merchant, or for a specific payment if payment_id is provided", "operationId": "List all Refunds", "requestBody": { "content": { diff --git a/crates/openapi/src/routes/refunds.rs b/crates/openapi/src/routes/refunds.rs index 4e096e243a82..0ff0891ee54b 100644 --- a/crates/openapi/src/routes/refunds.rs +++ b/crates/openapi/src/routes/refunds.rs @@ -115,7 +115,7 @@ pub async fn refunds_update() {} /// Refunds - List /// -/// Lists all the refunds associated with the merchant or a payment_id if payment_id is not provided +/// Lists all the refunds associated with the merchant, or for a specific payment if payment_id is provided #[utoipa::path( post, path = "/refunds/list",