Skip to content

Commit b8ec564

Browse files
ellicenelsonclaude
andcommitted
Add mock_response to data connector create/update schemas
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 99025e8 commit b8ec564

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10663,6 +10663,14 @@ paths:
1066310663
summary: Minimal - name only
1066410664
value:
1066510665
name: My Connector
10666+
with_mock_response:
10667+
summary: With mock response
10668+
value:
10669+
name: Order Lookup
10670+
mock_response:
10671+
order:
10672+
id: 12345
10673+
status: shipped
1066610674
"/data_connectors/{id}":
1066710675
get:
1066810676
summary: Retrieve a data connector
@@ -10902,6 +10910,13 @@ paths:
1090210910
summary: Set a connector to draft
1090310911
value:
1090410912
state: draft
10913+
with_mock_response:
10914+
summary: Update with mock response
10915+
value:
10916+
mock_response:
10917+
user:
10918+
name: Alice
10919+
email: alice@example.com
1090510920
responses:
1090610921
'200':
1090710922
description: Data connector updated
@@ -22633,6 +22648,13 @@ components:
2263322648
type: boolean
2263422649
description: Whether to validate that all required data inputs have values before executing.
2263522650
example: false
22651+
mock_response:
22652+
type: object
22653+
description: A sample JSON response from the external API. Auto-generates `response_fields` and sets `configuration_response_type` to `mock_response_type`.
22654+
example:
22655+
order:
22656+
id: 12345
22657+
status: shipped
2263622658
required:
2263722659
- name
2263822660
update_data_connector_request:
@@ -22745,6 +22767,13 @@ components:
2274522767
type: boolean
2274622768
description: Whether to validate missing attributes before execution.
2274722769
example: true
22770+
mock_response:
22771+
type: object
22772+
description: A sample JSON response from the external API. Auto-generates `response_fields` and sets `configuration_response_type` to `mock_response_type`.
22773+
example:
22774+
order:
22775+
id: 12345
22776+
status: shipped
2274822777
data_connector:
2274922778
title: Data Connector
2275022779
type: object

0 commit comments

Comments
 (0)