mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-26 08:12:13 +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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue