From 1e61a78462d71d5fdc108c8bfa0f2eef7973a236 Mon Sep 17 00:00:00 2001 From: ecunado Date: Tue, 30 Jun 2026 11:06:04 +0200 Subject: [PATCH] fix(restapi): resolve broken markdown link breaking prod build The link in restendpoints.md (line 1386) used the `restapi/` plugin prefix, which points outside the restapi docs plugin and fails to resolve. With `onBrokenMarkdownLinks: 'throw'` this aborted the production build/deploy. Make it relative to the plugin like every other link in the file. Fixed in both the live and versioned (2.28.0) copies. --- restapi/restendpoints.md | 2 +- restapi_versioned_docs/version-REST API 2.28.0/restendpoints.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/restapi/restendpoints.md b/restapi/restendpoints.md index 6e19532..48ac3f0 100644 --- a/restapi/restendpoints.md +++ b/restapi/restendpoints.md @@ -1383,7 +1383,7 @@ This endpoint allows to Cancel/Void/Reverse a previous transaction without a rea | `Body: originalGuid` Required
*String* | The GUID of the previously completed transaction to reverse. | | `Body: amount` Optional
*String* | Decimal amount in String, ISO 4217; Required for partial-reversals. *Only if your acquirer supports partial-reversals*. | | `Body: currency` Optional
*String* | Required for partial-reversals *Only if your acquirer supports partial-reversals*. | -| `Body: messageReasonCode` Optional
*String* | default: CUSTOMER_CANCELLATION. See [allowed values](restapi/restobjects.md#messageReasonCode)| +| `Body: messageReasonCode` Optional
*String* | default: CUSTOMER_CANCELLATION. See [allowed values](restobjects.md#messageReasonCode)| **Returns** diff --git a/restapi_versioned_docs/version-REST API 2.28.0/restendpoints.md b/restapi_versioned_docs/version-REST API 2.28.0/restendpoints.md index 6e19532..48ac3f0 100644 --- a/restapi_versioned_docs/version-REST API 2.28.0/restendpoints.md +++ b/restapi_versioned_docs/version-REST API 2.28.0/restendpoints.md @@ -1383,7 +1383,7 @@ This endpoint allows to Cancel/Void/Reverse a previous transaction without a rea | `Body: originalGuid` Required
*String* | The GUID of the previously completed transaction to reverse. | | `Body: amount` Optional
*String* | Decimal amount in String, ISO 4217; Required for partial-reversals. *Only if your acquirer supports partial-reversals*. | | `Body: currency` Optional
*String* | Required for partial-reversals *Only if your acquirer supports partial-reversals*. | -| `Body: messageReasonCode` Optional
*String* | default: CUSTOMER_CANCELLATION. See [allowed values](restapi/restobjects.md#messageReasonCode)| +| `Body: messageReasonCode` Optional
*String* | default: CUSTOMER_CANCELLATION. See [allowed values](restobjects.md#messageReasonCode)| **Returns**