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 bfff818 commit 632cc65
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 87 deletions.
80 changes: 40 additions & 40 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/refund-payment/{resourceType}/{resourceId}/{orderId}": {
"/_action/paypal/refund-payment/{resourceType}/{resourceId}/{orderId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -688,7 +688,7 @@
}
}
},
"/api/_action/paypal/capture-payment/{resourceType}/{resourceId}/{orderId}": {
"/_action/paypal/capture-payment/{resourceType}/{resourceId}/{orderId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -743,7 +743,7 @@
}
}
},
"/api/_action/paypal/void-payment/{resourceType}/{resourceId}/{orderId}": {
"/_action/paypal/void-payment/{resourceType}/{resourceId}/{orderId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -798,7 +798,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/products": {
"/_action/paypal/pos/sync/{salesChannelId}/products": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -836,7 +836,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/images": {
"/_action/paypal/pos/sync/{salesChannelId}/images": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -874,7 +874,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}/inventory": {
"/_action/paypal/pos/sync/{salesChannelId}/inventory": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -912,7 +912,7 @@
}
}
},
"/api/_action/paypal/pos/sync/{salesChannelId}": {
"/_action/paypal/pos/sync/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -950,7 +950,7 @@
}
}
},
"/api/_action/paypal/pos/sync/abort/{runId}": {
"/_action/paypal/pos/sync/abort/{runId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -975,7 +975,7 @@
}
}
},
"/api/_action/paypal/pos/sync/reset/{salesChannelId}": {
"/_action/paypal/pos/sync/reset/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -1001,7 +1001,7 @@
}
}
},
"/api/_action/paypal/pos/log/cleanup/{salesChannelId}": {
"/_action/paypal/pos/log/cleanup/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -1027,7 +1027,7 @@
}
}
},
"/api/paypal/pos/product-log/{salesChannelId}": {
"/paypal/pos/product-log/{salesChannelId}": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1075,7 +1075,7 @@
}
}
},
"/api/_action/paypal/pos/validate-api-credentials": {
"/_action/paypal/pos/validate-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1119,7 +1119,7 @@
}
}
},
"/api/paypal/pos/fetch-information": {
"/paypal/pos/fetch-information": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1154,7 +1154,7 @@
}
}
},
"/api/_action/paypal/pos/clone-product-visibility": {
"/_action/paypal/pos/clone-product-visibility": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1187,7 +1187,7 @@
}
}
},
"/api/paypal/pos/product-count": {
"/paypal/pos/product-count": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1230,7 +1230,7 @@
}
}
},
"/api/_action/paypal/pos/webhook/registration/{salesChannelId}": {
"/_action/paypal/pos/webhook/registration/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1278,7 +1278,7 @@
}
}
},
"/api/_action/paypal/pos/webhook/execute/{salesChannelId}": {
"/_action/paypal/pos/webhook/execute/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1312,7 +1312,7 @@
}
}
},
"/api/_action/paypal/validate-api-credentials": {
"/_action/paypal/validate-api-credentials": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1368,7 +1368,7 @@
}
}
},
"/api/_action/paypal/test-api-credentials": {
"/_action/paypal/test-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1404,7 +1404,7 @@
}
}
},
"/api/_action/paypal/get-api-credentials": {
"/_action/paypal/get-api-credentials": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1451,7 +1451,7 @@
}
}
},
"/api/_action/paypal/merchant-information": {
"/_action/paypal/merchant-information": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1484,7 +1484,7 @@
}
}
},
"/api/_action/paypal/save-settings": {
"/_action/paypal/save-settings": {
"post": {
"tags": [
"Admin Api",
Expand All @@ -1508,7 +1508,7 @@
}
}
},
"/api/_action/paypal/webhook/status/{salesChannelId}": {
"/_action/paypal/webhook/status/{salesChannelId}": {
"get": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1545,7 +1545,7 @@
}
}
},
"/api/_action/paypal/webhook/register/{salesChannelId}": {
"/_action/paypal/webhook/register/{salesChannelId}": {
"post": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1582,7 +1582,7 @@
}
}
},
"/api/_action/paypal/webhook/deregister/{salesChannelId}": {
"/_action/paypal/webhook/deregister/{salesChannelId}": {
"delete": {
"tags": [
"Admin Api",
Expand Down Expand Up @@ -1619,7 +1619,7 @@
}
}
},
"/api/_action/paypal/webhook/execute": {
"/_action/paypal/webhook/execute": {
"post": {
"tags": [
"Admin Api",
Expand Down
Loading

0 comments on commit 632cc65

Please sign in to comment.