Skip to content

Commit

Permalink
fix(docs): incorrect description for refund api (#6443)
Browse files Browse the repository at this point in the history
Signed-off-by: Shashank Kumar <[email protected]>
  • Loading branch information
shawshankkumar authored Dec 10, 2024
1 parent 6eb7cc1 commit 8954e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-reference/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion crates/openapi/src/routes/refunds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8954e8a

Please sign in to comment.