Skip to content

Commit 58d9566

Browse files
committed
Remove duplicate definition of inline ErrorType
1 parent 9830c7d commit 58d9566

File tree

2 files changed

+5
-31
lines changed

2 files changed

+5
-31
lines changed

apify-api/openapi/components/schemas/common/ErrorResponse.yaml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,4 @@ required:
44
type: object
55
properties:
66
error:
7-
title: ErrorDetail
8-
type: object
9-
properties:
10-
type:
11-
title: ErrorType
12-
type: string
13-
description: Machine-processable error type identifier.
14-
enum:
15-
- actor-memory-limit-exceeded
16-
- actor-not-found
17-
- invalid-input
18-
- method-not-allowed
19-
- page-not-found
20-
- permission-denied
21-
- rate-limit-exceeded
22-
- record-not-found
23-
- record-not-unique
24-
- record-or-token-not-found
25-
- request-id-invalid
26-
- request-too-large
27-
- run-failed
28-
- run-timeout-exceeded
29-
- schedule-actor-not-found
30-
- schedule-actor-task-not-found
31-
- token-not-valid
32-
- unknown-build-tag
33-
- unsupported-content-encoding
34-
- user-not-found
35-
message:
36-
type: string
37-
description: Human-readable error message describing what went wrong.
7+
$ref: ErrorDetail.yaml

apify-api/openapi/components/schemas/common/ErrorType.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ enum:
66
- actor-not-found
77
- invalid-input
88
- method-not-allowed
9+
- page-not-found
910
- permission-denied
1011
- rate-limit-exceeded
1112
- record-not-found
@@ -15,6 +16,9 @@ enum:
1516
- request-too-large
1617
- run-failed
1718
- run-timeout-exceeded
19+
- schedule-actor-not-found
20+
- schedule-actor-task-not-found
1821
- token-not-valid
1922
- unknown-build-tag
2023
- unsupported-content-encoding
24+
- user-not-found

0 commit comments

Comments
 (0)