Skip to content

Commit 5ce3be8

Browse files
tonyxiaoclaude
andcommitted
Regenerate OpenAPI specs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
1 parent 6bda4c2 commit 5ce3be8

2 files changed

Lines changed: 283 additions & 82 deletions

File tree

docs/openapi/engine.json

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
"/health": {
1414
"get": {
1515
"operationId": "health",
16-
"tags": ["Status"],
16+
"tags": [
17+
"Status"
18+
],
1719
"summary": "Health check",
1820
"responses": {
1921
"200": {
@@ -25,10 +27,14 @@
2527
"properties": {
2628
"ok": {
2729
"type": "boolean",
28-
"enum": [true]
30+
"enum": [
31+
true
32+
]
2933
}
3034
},
31-
"required": ["ok"]
35+
"required": [
36+
"ok"
37+
]
3238
}
3339
}
3440
}
@@ -39,7 +45,9 @@
3945
"/setup": {
4046
"post": {
4147
"operationId": "setup",
42-
"tags": ["Stateless Sync API"],
48+
"tags": [
49+
"Stateless Sync API"
50+
],
4351
"summary": "Set up destination schema",
4452
"description": "Creates destination tables and applies migrations. Safe to call multiple times.",
4553
"parameters": [
@@ -80,7 +88,9 @@
8088
"/teardown": {
8189
"post": {
8290
"operationId": "teardown",
83-
"tags": ["Stateless Sync API"],
91+
"tags": [
92+
"Stateless Sync API"
93+
],
8494
"summary": "Tear down destination schema",
8595
"description": "Drops destination tables. Irreversible.",
8696
"parameters": [
@@ -121,7 +131,9 @@
121131
"/check": {
122132
"get": {
123133
"operationId": "check",
124-
"tags": ["Stateless Sync API"],
134+
"tags": [
135+
"Stateless Sync API"
136+
],
125137
"summary": "Check connector connection",
126138
"description": "Validates the source/destination config and tests connectivity.",
127139
"parameters": [
@@ -150,29 +162,42 @@
150162
"properties": {
151163
"status": {
152164
"type": "string",
153-
"enum": ["succeeded", "failed"]
165+
"enum": [
166+
"succeeded",
167+
"failed"
168+
]
154169
},
155170
"message": {
156171
"type": "string"
157172
}
158173
},
159-
"required": ["status"]
174+
"required": [
175+
"status"
176+
]
160177
},
161178
"destination": {
162179
"type": "object",
163180
"properties": {
164181
"status": {
165182
"type": "string",
166-
"enum": ["succeeded", "failed"]
183+
"enum": [
184+
"succeeded",
185+
"failed"
186+
]
167187
},
168188
"message": {
169189
"type": "string"
170190
}
171191
},
172-
"required": ["status"]
192+
"required": [
193+
"status"
194+
]
173195
}
174196
},
175-
"required": ["source", "destination"]
197+
"required": [
198+
"source",
199+
"destination"
200+
]
176201
}
177202
}
178203
}
@@ -198,7 +223,9 @@
198223
"/read": {
199224
"post": {
200225
"operationId": "read",
201-
"tags": ["Stateless Sync API"],
226+
"tags": [
227+
"Stateless Sync API"
228+
],
202229
"summary": "Read records from source",
203230
"description": "Streams NDJSON messages (records, state, catalog). Optional NDJSON body provides catalog/state as input.",
204231
"parameters": [
@@ -248,7 +275,9 @@
248275
"/write": {
249276
"post": {
250277
"operationId": "write",
251-
"tags": ["Stateless Sync API"],
278+
"tags": [
279+
"Stateless Sync API"
280+
],
252281
"summary": "Write records to destination",
253282
"description": "Reads NDJSON messages from the request body and writes them to the destination. Pipe /read output as input.",
254283
"parameters": [
@@ -310,7 +339,9 @@
310339
"/sync": {
311340
"post": {
312341
"operationId": "sync",
313-
"tags": ["Stateless Sync API"],
342+
"tags": [
343+
"Stateless Sync API"
344+
],
314345
"summary": "Run sync pipeline (read → write)",
315346
"description": "Without a request body, reads from the source connector and writes to the destination (backfill mode). With an NDJSON request body, uses the provided messages as input instead of reading from the source (push mode — e.g. piped webhook events).",
316347
"parameters": [

0 commit comments

Comments
 (0)