Skip to content

Commit 1faa80e

Browse files
committed
🩹 Fix response errors
1 parent 62ca3c4 commit 1faa80e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

content/swagger/akeneo-web-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

content/swagger/resources/job/routes/export.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ post:
1919
x-examples-per-version:
2020
- x-version: 'SaaS'
2121
x-example: {"execution_id": "12345"}
22+
400:
23+
$ref: "#/responses/400Error"
24+
403:
25+
$ref: "#/responses/403Error"
2226
404:
2327
$ref: "#/responses/404Error"
2428
422:

content/swagger/resources/job/routes/import.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ post:
1919
import_mode:
2020
type: string
2121
description: Optional. Change the import mode for this job by overriding the profile value.
22-
format: binary
2322
responses:
2423
200:
2524
description: OK
2625
x-details: Returns the execution ID for the launched job
2726
x-examples-per-version:
2827
- x-version: 'SaaS'
2928
x-example: {"execution_id": "12345"}
29+
400:
30+
$ref: "#/responses/400Error"
31+
403:
32+
$ref: "#/responses/403Error"
3033
404:
3134
$ref: "#/responses/404Error"
3235
422:

0 commit comments

Comments
 (0)