Skip to content

Commit a4eebf9

Browse files
committed
chore: generate
1 parent 680a63e commit a4eebf9

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

packages/sdk/openapi.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,41 @@
66
"version": "1.0.0"
77
},
88
"paths": {
9+
"/global/health": {
10+
"get": {
11+
"operationId": "global.health",
12+
"summary": "Get health",
13+
"description": "Get health information about the OpenCode server.",
14+
"responses": {
15+
"200": {
16+
"description": "Health information",
17+
"content": {
18+
"application/json": {
19+
"schema": {
20+
"type": "object",
21+
"properties": {
22+
"healthy": {
23+
"type": "boolean",
24+
"const": true
25+
},
26+
"version": {
27+
"type": "string"
28+
}
29+
},
30+
"required": ["healthy", "version"]
31+
}
32+
}
33+
}
34+
}
35+
},
36+
"x-codeSamples": [
37+
{
38+
"lang": "js",
39+
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.global.health({\n ...\n})"
40+
}
41+
]
42+
}
43+
},
944
"/global/event": {
1045
"get": {
1146
"operationId": "global.event",

0 commit comments

Comments
 (0)