mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Merge 2.0 to master (#651)
This commit is contained in:
parent
3666ece2c5
commit
b9d7bf9a8b
212 changed files with 13940 additions and 6180 deletions
54
specs/api/components/schemas/query/RowsQueryResponse.yaml
Normal file
54
specs/api/components/schemas/query/RowsQueryResponse.yaml
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
type: object
|
||||
description: Rows query response (GraphQL format)
|
||||
properties:
|
||||
data:
|
||||
description: GraphQL response data (JSON object or null)
|
||||
oneOf:
|
||||
- type: object
|
||||
additionalProperties: {}
|
||||
- type: "null"
|
||||
example:
|
||||
person:
|
||||
name: Alice
|
||||
email: alice@example.com
|
||||
knows:
|
||||
- name: Bob
|
||||
- name: Carol
|
||||
errors:
|
||||
type: array
|
||||
description: GraphQL field-level errors
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
description: Error message
|
||||
example: Cannot query field 'age' on type 'Person'
|
||||
path:
|
||||
type: array
|
||||
description: Path to error location
|
||||
items:
|
||||
type: string
|
||||
example: ["person", "age"]
|
||||
extensions:
|
||||
type: object
|
||||
description: Additional error metadata
|
||||
additionalProperties:
|
||||
type: string
|
||||
extensions:
|
||||
type: object
|
||||
description: Query metadata (execution time, etc.)
|
||||
additionalProperties:
|
||||
type: string
|
||||
example:
|
||||
execution_time_ms: "42"
|
||||
error:
|
||||
type: object
|
||||
description: System-level error (connection, timeout, etc.)
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
example: TIMEOUT_ERROR
|
||||
message:
|
||||
type: string
|
||||
example: Query execution timeout
|
||||
Loading…
Add table
Add a link
Reference in a new issue