Skip to content

Commit

Permalink
chore: sync openapi schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
cyl3x committed Jan 30, 2025
1 parent 9f17c39 commit 30b89b1
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 81 deletions.
74 changes: 37 additions & 37 deletions src/Resources/Schema/AdminApi/openapi.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"openapi": "3.0.0",
"paths": {
"/api/_action/paypal/saleschannel-default": {
"/_action/paypal/saleschannel-default": {
"post": {
"tags": [
"Admin Api",
"SwagPayPalPaymentMethod"
],
"description": "Sets PayPal as the default payment method for a given Saleschannel, or all.",
"description": "Sets PayPal as the default payment method for a given SalesChannel, or all.",
"operationId": "setPayPalAsDefault",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"salesChannelId": {
"description": "The id of the Saleschannel where PayPal should be set as the default payment method. Set to null to set PayPal as default for every Saleschannel.",
"description": "The id of the SalesChannel where PayPal should be set as the default payment method. Set to null to set PayPal as default for every Saleschannel.",
"type": "string",
"nullable": true
}
Expand All @@ -32,7 +32,7 @@
}
}
},
"/api/paypal/dispute": {
"/paypal/dispute": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -75,7 +75,7 @@
}
}
},
"/api/paypal/dispute/{disputeId}": {
"/paypal/dispute/{disputeId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -119,7 +119,7 @@
}
}
},
"/api/paypal-v2/order/{orderTransactionId}/{paypalOrderId}": {
"/paypal-v2/order/{orderTransactionId}/{paypalOrderId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -164,7 +164,7 @@
}
}
},
"/api/paypal-v2/authorization/{orderTransactionId}/{authorizationId}": {
"/paypal-v2/authorization/{orderTransactionId}/{authorizationId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -210,7 +210,7 @@
}
}
},
"/api/paypal-v2/capture/{orderTransactionId}/{captureId}": {
"/paypal-v2/capture/{orderTransactionId}/{captureId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -255,7 +255,7 @@
}
}
},
"/api/paypal-v2/refund/{orderTransactionId}/{refundId}": {
"/paypal-v2/refund/{orderTransactionId}/{refundId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -300,7 +300,7 @@
}
}
},
"/api/_action/paypal-v2/refund-capture/{orderTransactionId}/{captureId}/{paypalOrderId}": {
"/_action/paypal-v2/refund-capture/{orderTransactionId}/{captureId}/{paypalOrderId}": {
"post": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -386,7 +386,7 @@
}
}
},
"/api/_action/paypal-v2/capture-authorization/{orderTransactionId}/{authorizationId}": {
"/_action/paypal-v2/capture-authorization/{orderTransactionId}/{authorizationId}": {
"post": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -466,7 +466,7 @@
}
}
},
"/api/_action/paypal-v2/void-authorization/{orderTransactionId}/{authorizationId}": {
"/_action/paypal-v2/void-authorization/{orderTransactionId}/{authorizationId}": {
"post": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -519,7 +519,7 @@
}
}
},
"/api/paypal/payment-details/{orderId}/{paymentId}": {
"/paypal/payment-details/{orderId}/{paymentId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -562,7 +562,7 @@
}
}
},
"/api/paypal/resource-details/{resourceType}/{resourceId}/{orderId}": {
"/paypal/resource-details/{resourceType}/{resourceId}/{orderId}": {
"get": {
"tags": [
"Admin API",
Expand Down Expand Up @@ -633,7 +633,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/products": {
"/_action/paypal/pos/sync/{salesChannelId}/products": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -671,7 +671,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/images": {
"/_action/paypal/pos/sync/{salesChannelId}/images": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -709,7 +709,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/inventory": {
"/_action/paypal/pos/sync/{salesChannelId}/inventory": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -747,7 +747,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}": {
"/_action/paypal/pos/sync/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -785,7 +785,7 @@
}
}
},
"/api/_action/paypal/pos/sync/abort/{runId}": {
"/_action/paypal/pos/sync/abort/{runId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -810,7 +810,7 @@
}
}
},
"/api/_action/paypal/pos/sync/reset/{salesChannelId}": {
"/_action/paypal/pos/sync/reset/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -836,7 +836,7 @@
}
}
},
"/api/_action/paypal/pos/log/cleanup/{salesChannelId}": {
"/_action/paypal/pos/log/cleanup/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -862,7 +862,7 @@
}
}
},
"/api/paypal/pos/product-log/{salesChannelId}": {
"/paypal/pos/product-log/{salesChannelId}": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -910,7 +910,7 @@
}
}
},
"/api/_action/paypal/pos/validate-api-credentials": {
"/_action/paypal/pos/validate-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -954,7 +954,7 @@
}
}
},
"/api/paypal/pos/fetch-information": {
"/paypal/pos/fetch-information": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -989,7 +989,7 @@
}
}
},
"/api/_action/paypal/pos/clone-product-visibility": {
"/_action/paypal/pos/clone-product-visibility": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1022,7 +1022,7 @@
}
}
},
"/api/paypal/pos/product-count": {
"/paypal/pos/product-count": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1065,7 +1065,7 @@
}
}
},
"/api/_action/paypal/pos/webhook/registration/{salesChannelId}": {
"/_action/paypal/pos/webhook/registration/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1113,7 +1113,7 @@
}
}
},
"/api/_action/paypal/pos/webhook/execute/{salesChannelId}": {
"/_action/paypal/pos/webhook/execute/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1147,7 +1147,7 @@
}
}
},
"/api/_action/paypal/validate-api-credentials": {
"/_action/paypal/validate-api-credentials": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1203,7 +1203,7 @@
}
}
},
"/api/_action/paypal/test-api-credentials": {
"/_action/paypal/test-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1239,7 +1239,7 @@
}
}
},
"/api/_action/paypal/get-api-credentials": {
"/_action/paypal/get-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1286,7 +1286,7 @@
}
}
},
"/api/_action/paypal/merchant-information": {
"/_action/paypal/merchant-information": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1319,7 +1319,7 @@
}
}
},
"/api/_action/paypal/save-settings": {
"/_action/paypal/save-settings": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -1343,7 +1343,7 @@
}
}
},
"/api/_action/paypal/webhook/status/{salesChannelId}": {
"/_action/paypal/webhook/status/{salesChannelId}": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1380,7 +1380,7 @@
}
}
},
"/api/_action/paypal/webhook/register/{salesChannelId}": {
"/_action/paypal/webhook/register/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1417,7 +1417,7 @@
}
}
},
"/api/_action/paypal/webhook/deregister/{salesChannelId}": {
"/_action/paypal/webhook/deregister/{salesChannelId}": {
"delete": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1454,7 +1454,7 @@
}
}
},
"/api/_action/paypal/webhook/execute": {
"/_action/paypal/webhook/execute": {
"post": {
"tags": [
"Admin Api",
Expand Down
12 changes: 6 additions & 6 deletions src/Resources/Schema/StoreApi/openapi.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.0",
"paths": {
"/store-api/paypal/express/create-order": {
"/paypal/express/create-order": {
"post": {
"tags": [
"Store API",
Expand All @@ -16,7 +16,7 @@
}
}
},
"/store-api/paypal/express/prepare-checkout": {
"/paypal/express/prepare-checkout": {
"post": {
"tags": [
"Store API",
Expand Down Expand Up @@ -58,7 +58,7 @@
}
}
},
"/store-api/paypal/pui/payment-instructions/{transactionId}": {
"/paypal/pui/payment-instructions/{transactionId}": {
"get": {
"tags": [
"Store API",
Expand All @@ -85,7 +85,7 @@
}
}
},
"/store-api/paypal/vault/clear": {
"/paypal/vault/clear": {
"post": {
"tags": [
"Store API",
Expand Down Expand Up @@ -119,7 +119,7 @@
}
}
},
"/store-api/paypal/create-order": {
"/paypal/create-order": {
"post": {
"tags": [
"Store API",
Expand Down Expand Up @@ -166,7 +166,7 @@
}
}
},
"/store-api/paypal/payment-method-eligibility": {
"/paypal/payment-method-eligibility": {
"post": {
"tags": [
"Store API",
Expand Down
Loading

0 comments on commit 30b89b1

Please sign in to comment.