Add AsyncAPI spec for websocket (#613)

* AsyncAPI for websocket docs

* Delete old docs

* Update docs/README.md to point to docs site

* Add generated API docs
This commit is contained in:
cybermaggedon 2026-01-15 11:57:16 +00:00 committed by GitHub
parent fce43ae035
commit 8a17375603
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
110 changed files with 8325 additions and 23324 deletions

View file

@ -0,0 +1,27 @@
name: ServiceError
title: Service Error Message
summary: Error response from any TrustGraph service
description: |
Error message sent when a service request fails.
Contains the request ID and error details.
payload:
$ref: '../schemas/ErrorEnvelope.yaml'
examples:
- name: Flow not found error
summary: Requested flow does not exist
payload:
id: req-2
error:
type: gateway-error
message: Flow 'my-flow' not found
- name: Service timeout error
summary: Service processing timeout
payload:
id: req-3
error:
type: timeout
message: Request exceeded 600s timeout