Skip to content

Commit e34a877

Browse files
committed
#8189 yaml file fix
1 parent 097fee8 commit e34a877

1 file changed

Lines changed: 43 additions & 38 deletions

File tree

ai/mcp/server/neural-link/openapi.yaml

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -904,44 +904,49 @@ paths:
904904
'200':
905905
description: Class schema
906906
content:
907-
/interaction/simulate_event:
908-
post:
909-
summary: Simulate DOM Event
910-
operationId: simulate_event
911-
x-pass-as-object: true
912-
description: |
913-
Simulates a native DOM event on a specific component or a sequence of events.
914-
915-
**When to Use:**
916-
To trigger user interactions like clicks, keyboard input, or drag sequences for E2E testing.
917-
tags: [Interaction]
918-
requestBody:
919-
required: true
920-
content:
921-
application/json:
922-
schema:
923-
$ref: '#/components/schemas/SimulateEventRequest'
924-
responses:
925-
'200':
926-
description: Event(s) dispatched successfully
927-
content:
928-
application/json:
929-
schema:
930-
type: boolean
931-
'400':
932-
description: Invalid request body
933-
content:
934-
application/json:
935-
schema:
936-
$ref: '#/components/schemas/ErrorResponse'
937-
'500':
938-
description: Internal server error
939-
content:
940-
application/json:
941-
schema:
942-
$ref: '#/components/schemas/ErrorResponse'
943-
944-
components: schemas:
907+
application/json:
908+
schema:
909+
type: object
910+
911+
/interaction/simulate_event:
912+
post:
913+
summary: Simulate DOM Event
914+
operationId: simulate_event
915+
x-pass-as-object: true
916+
description: |
917+
Simulates a native DOM event on a specific component or a sequence of events.
918+
919+
**When to Use:**
920+
To trigger user interactions like clicks, keyboard input, or drag sequences for E2E testing.
921+
tags: [Interaction]
922+
requestBody:
923+
required: true
924+
content:
925+
application/json:
926+
schema:
927+
$ref: '#/components/schemas/SimulateEventRequest'
928+
responses:
929+
'200':
930+
description: Event(s) dispatched successfully
931+
content:
932+
application/json:
933+
schema:
934+
type: boolean
935+
'400':
936+
description: Invalid request body
937+
content:
938+
application/json:
939+
schema:
940+
$ref: '#/components/schemas/ErrorResponse'
941+
'500':
942+
description: Internal server error
943+
content:
944+
application/json:
945+
schema:
946+
$ref: '#/components/schemas/ErrorResponse'
947+
948+
components:
949+
schemas:
945950
HealthCheckResponse:
946951
type: object
947952
properties:

0 commit comments

Comments
 (0)