Skip to content

Commit 6cc0644

Browse files
actions-userkiennq
authored andcommitted
chore: generate
1 parent b4b27f1 commit 6cc0644

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

packages/sdk/openapi.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7721,6 +7721,47 @@
77217721
]
77227722
}
77237723
},
7724+
"/instance/reload": {
7725+
"post": {
7726+
"operationId": "instance.reload",
7727+
"parameters": [
7728+
{
7729+
"in": "query",
7730+
"name": "directory",
7731+
"schema": {
7732+
"type": "string"
7733+
}
7734+
},
7735+
{
7736+
"in": "query",
7737+
"name": "workspace",
7738+
"schema": {
7739+
"type": "string"
7740+
}
7741+
}
7742+
],
7743+
"summary": "Reload instance",
7744+
"description": "Soft reload the current OpenCode instance so runtime config and discovered content are refreshed.",
7745+
"responses": {
7746+
"200": {
7747+
"description": "Instance reloaded",
7748+
"content": {
7749+
"application/json": {
7750+
"schema": {
7751+
"type": "boolean"
7752+
}
7753+
}
7754+
}
7755+
}
7756+
},
7757+
"x-codeSamples": [
7758+
{
7759+
"lang": "js",
7760+
"source": "import { createOpencodeClient } from \"@opencode-ai/sdk\n\nconst client = createOpencodeClient()\nawait client.instance.reload({\n ...\n})"
7761+
}
7762+
]
7763+
}
7764+
},
77247765
"/path": {
77257766
"get": {
77267767
"operationId": "path.get",

0 commit comments

Comments
 (0)