Skip to content

Commit d99ae38

Browse files
Fix 404 and 403 error response examples
Add proper error.list examples for error responses to fix Swagger validation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 03bd6e3 commit d99ae38

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9792,12 +9792,28 @@ paths:
97929792
description: Workflow not found
97939793
content:
97949794
application/json:
9795+
examples:
9796+
Workflow not found:
9797+
value:
9798+
type: error.list
9799+
request_id: b3c8c472-8478-4f10-a29e-a23dbf921c46
9800+
errors:
9801+
- code: not_found
9802+
message: Workflow not found
97959803
schema:
97969804
"$ref": "#/components/schemas/error"
97979805
'403':
97989806
description: Workflow export is not available for this app
97999807
content:
98009808
application/json:
9809+
examples:
9810+
Feature not available:
9811+
value:
9812+
type: error.list
9813+
request_id: d92f7e84-5c31-4a2b-b8e6-9f4c3d2a1b0e
9814+
errors:
9815+
- code: api_plan_restricted
9816+
message: Workflow export is not available for this app
98019817
schema:
98029818
"$ref": "#/components/schemas/error"
98039819
"/download/content/data/{job_identifier}":

0 commit comments

Comments
 (0)