-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PISHPS-282: renamed directory, refactored credit-card openapi v3 docu…
…mentation (#765) * PISHPS-282: added openapi v3 documentation for store-api and admin-api * PISHPS-282: removed /api/ and /store-api from routes, documented credit-card endpoints and renamed directory * PISHPS-282: removed duplicated openapi v3 json files
- Loading branch information
1 parent
286b1bb
commit 68dc57e
Showing
43 changed files
with
321 additions
and
371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
src/Resources/Schema/StoreApi/credit-card-get-mandates.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"title": "Mollie API", | ||
"description": "API for Mollie payment integration.", | ||
"version": "1.0.0" | ||
}, | ||
"paths": { | ||
"/mollie/mandates/{customerId}": { | ||
"get": { | ||
"summary": "Get Customer Mandates", | ||
"description": "Retrieves a list of mandates for the specified customer.", | ||
"operationId": "getCustomerMandates", | ||
"parameters": [ | ||
{ | ||
"name": "customerId", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string" | ||
}, | ||
"description": "The ID of the customer whose mandates are being retrieved." | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "A list of customer mandates.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/components/schemas/mandate" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"schemas": { | ||
"CreditCardDetailStruct": { | ||
"type": "object", | ||
"properties": { | ||
"cardNumber": { | ||
"type": "string" | ||
}, | ||
"expiryDate": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"mandate": { | ||
"type": "object", | ||
"properties": { | ||
"resource": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"id": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"mode": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"status": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"method": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"details": { | ||
"$ref": "#/components/schemas/CreditCardDetailStruct" | ||
}, | ||
"customerId": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"mandateReference": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"signatureDate": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"createdAt": { | ||
"type": "string", | ||
"nullable": true | ||
}, | ||
"beingUsedForSubscription": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"details", | ||
"beingUsedForSubscription" | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.