mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
openapi
This commit is contained in:
parent
145d185e6f
commit
4126fedbd4
2 changed files with 8 additions and 0 deletions
|
|
@ -580,6 +580,7 @@ export namespace Server {
|
|||
describeRoute({
|
||||
summary: "Get session",
|
||||
description: "Retrieve detailed information about a specific OpenCode session.",
|
||||
tags: ["Session"],
|
||||
operationId: "session.get",
|
||||
responses: {
|
||||
200: {
|
||||
|
|
@ -610,6 +611,7 @@ export namespace Server {
|
|||
"/session/:sessionID/children",
|
||||
describeRoute({
|
||||
summary: "Get session children",
|
||||
tags: ["Session"],
|
||||
description: "Retrieve all child sessions that were forked from the specified parent session.",
|
||||
operationId: "session.children",
|
||||
responses: {
|
||||
|
|
|
|||
|
|
@ -910,6 +910,9 @@
|
|||
],
|
||||
"summary": "Get session",
|
||||
"description": "Retrieve detailed information about a specific OpenCode session.",
|
||||
"tags": [
|
||||
"Session"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Get session",
|
||||
|
|
@ -1107,6 +1110,9 @@
|
|||
}
|
||||
],
|
||||
"summary": "Get session children",
|
||||
"tags": [
|
||||
"Session"
|
||||
],
|
||||
"description": "Retrieve all child sessions that were forked from the specified parent session.",
|
||||
"responses": {
|
||||
"200": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue