Skip to content

Commit

Permalink
Merge pull request #54 from formancehq/fix/PaymentsOverlay
Browse files Browse the repository at this point in the history
fix(payments): methods get with body
  • Loading branch information
reslene authored Jan 9, 2025
2 parents 1866bf5 + 3d143ec commit 7fe24ac
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions overlay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,30 @@ actions:
remove: true
- target: $["paths"]["/api/payments/accounts"]["get"]["requestBody"]
remove: true
- target: $["paths"]["/api/payments/v3/accounts"]["get"]["parameters"]
update:
- { "name": "query", "in": "query", "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true } } } }
- target: $["paths"]["/api/payments/v3/accounts"]["get"]["requestBody"]
remove: true
- target: $["paths"]["/api/payments/v3/bank-accounts"]["get"]["parameters"]
update:
- { "name": "query", "in": "query", "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true } } } }
- target: $["paths"]["/api/payments/v3/bank-accounts"]["get"]["requestBody"]
remove: true
- target: $["paths"]["/api/payments/v3/payments"]["get"]["parameters"]
update:
- { "name": "query", "in": "query", "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true } } } }
- target: $["paths"]["/api/payments/v3/payments"]["get"]["requestBody"]
remove: true
- target: $["paths"]["/api/payments/v3/payment-initiations"]["get"]["parameters"]
update:
- { "name": "query", "in": "query", "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true } } } }
- target: $["paths"]["/api/payments/v3/payment-initiations"]["get"]["requestBody"]
remove: true
- target: $["paths"]["/api/payments/v3/pools"]["get"]["parameters"]
update:
- { "name": "query", "in": "query", "content": { "application/json": { "schema": { "type": "object", "additionalProperties": true } } } }
- target: $["paths"]["/api/payments/v3/pools"]["get"]["requestBody"]
remove: true


0 comments on commit 7fe24ac

Please sign in to comment.