Skip to content

Commit 0e35a0c

Browse files
author
Nicki Nixon
committed
fix(spec): add missing bearerAuth scheme and transaction parameters
Fix OpenAPI validation errors discovered by Redocly linter: 1. Add bearerAuth security scheme definition - Was present in source v20111101.yaml but not synced during phases - Required by 4 processor token endpoints 2. Add missing parameters to DELETE /users/{user_guid}/transactions/{transaction_guid} - Added transactionGuid and userGuid parameter refs - Pre-existing issue from source file These fixes resolve all 6 critical errors. Spec now validates successfully with 'npx @redocly/cli lint' (231 warnings remain, non-critical). Root cause: Phase scripts didn't sync securitySchemes section from source.
1 parent 511bef9 commit 0e35a0c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

openapi/mx_platform_api.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,6 +2668,9 @@ paths:
26682668
operationId: deleteManualTransactions
26692669
summary: Delete manual transactions
26702670
description: Delete a manual transaction. In the path, use the manual transaction guid as the `transaction_guid`, such as `MAN-810828b0-5210-4878-9bd3-f4ce514f90c4`.
2671+
parameters:
2672+
- $ref: '#/components/parameters/transactionGuid'
2673+
- $ref: '#/components/parameters/userGuid'
26712674
responses:
26722675
"204":
26732676
description: No content
@@ -8740,3 +8743,6 @@ components:
87408743
basicAuth:
87418744
scheme: basic
87428745
type: http
8746+
bearerAuth:
8747+
scheme: bearer
8748+
type: http

0 commit comments

Comments
 (0)