Skip to content

Commit 37c3b42

Browse files
committed
TASK: Updating RAML types, Postman and OAS definition
1 parent 2ca7fba commit 37c3b42

File tree

5 files changed

+48
-32
lines changed

5 files changed

+48
-32
lines changed

bruno/checkout/Project/Applications/ByProjectKeyApplicationsByIdDelete.bru

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ meta {
55
}
66

77
delete {
8-
url: {{apiUrl}}/{{project-key}}/applications/{{id}}
9-
body: json
8+
url: {{apiUrl}}/{{project-key}}/applications/{{id}}?version={{application-version}}
9+
body: none
1010
auth: inherit
1111
}
1212

1313

1414
query {
15+
version: {{application-version}}
1516
}
1617

1718
script:post-response {

bruno/checkout/Project/Applications/ByProjectKeyApplicationsKeyByKeyDelete.bru

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ meta {
55
}
66

77
delete {
8-
url: {{apiUrl}}/{{project-key}}/applications/key={{application-key}}
9-
body: json
8+
url: {{apiUrl}}/{{project-key}}/applications/key={{application-key}}?version={{application-version}}
9+
body: none
1010
auth: inherit
1111
}
1212

1313

1414
query {
15+
version: {{application-version}}
1516
}
1617

1718
script:post-response {

bruno/checkout/Project/Payment-integrations/ByProjectKeyPaymentIntegrationsByIdDelete.bru

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ meta {
55
}
66

77
delete {
8-
url: {{apiUrl}}/{{project-key}}/payment-integrations/{{id}}
9-
body: json
8+
url: {{apiUrl}}/{{project-key}}/payment-integrations/{{id}}?version={{payment-integration-version}}
9+
body: none
1010
auth: inherit
1111
}
1212

1313

1414
query {
15+
version: {{payment-integration-version}}
1516
}
1617

1718
script:post-response {

bruno/checkout/Project/Payment-integrations/ByProjectKeyPaymentIntegrationsKeyByKeyDelete.bru

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ meta {
55
}
66

77
delete {
8-
url: {{apiUrl}}/{{project-key}}/payment-integrations/key={{payment-integration-key}}
9-
body: json
8+
url: {{apiUrl}}/{{project-key}}/payment-integrations/key={{payment-integration-key}}?version={{payment-integration-version}}
9+
body: none
1010
auth: inherit
1111
}
1212

1313

1414
query {
15+
version: {{payment-integration-version}}
1516
}
1617

1718
script:post-response {

oas/checkout/openapi.yaml

Lines changed: 36 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,15 @@ paths:
176176
- oauth_2_0:
177177
- "manage_checkout_applications:{projectKey}"
178178
operationId: ByProjectKeyApplicationsKeyByKeyDelete
179-
requestBody:
180-
content:
181-
application/json:
182-
schema:
183-
$ref: '#/components/schemas/Application'
184-
179+
parameters:
180+
- name: version
181+
in: query
182+
required: true
183+
style: form
184+
schema:
185+
type: "integer"
186+
format: "int32"
187+
explode: true
185188
responses:
186189
"200":
187190
description: |-
@@ -258,12 +261,15 @@ paths:
258261
- oauth_2_0:
259262
- "manage_checkout_applications:{projectKey}"
260263
operationId: ByProjectKeyApplicationsByIdDelete
261-
requestBody:
262-
content:
263-
application/json:
264-
schema:
265-
$ref: '#/components/schemas/Application'
266-
264+
parameters:
265+
- name: version
266+
in: query
267+
required: true
268+
style: form
269+
schema:
270+
type: "integer"
271+
format: "int32"
272+
explode: true
267273
responses:
268274
"200":
269275
description: |-
@@ -433,12 +439,15 @@ paths:
433439
- oauth_2_0:
434440
- "manage_checkout_payment_integrations:{projectKey}"
435441
operationId: ByProjectKeyPaymentIntegrationsKeyByKeyDelete
436-
requestBody:
437-
content:
438-
application/json:
439-
schema:
440-
$ref: '#/components/schemas/PaymentIntegration'
441-
442+
parameters:
443+
- name: version
444+
in: query
445+
required: true
446+
style: form
447+
schema:
448+
type: "integer"
449+
format: "int32"
450+
explode: true
442451
responses:
443452
"200":
444453
description: |-
@@ -515,12 +524,15 @@ paths:
515524
- oauth_2_0:
516525
- "manage_checkout_payment_integrations:{projectKey}"
517526
operationId: ByProjectKeyPaymentIntegrationsByIdDelete
518-
requestBody:
519-
content:
520-
application/json:
521-
schema:
522-
$ref: '#/components/schemas/PaymentIntegration'
523-
527+
parameters:
528+
- name: version
529+
in: query
530+
required: true
531+
style: form
532+
schema:
533+
type: "integer"
534+
format: "int32"
535+
explode: true
524536
responses:
525537
"200":
526538
description: |-

0 commit comments

Comments
 (0)