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({
|
describeRoute({
|
||||||
summary: "Get session",
|
summary: "Get session",
|
||||||
description: "Retrieve detailed information about a specific OpenCode session.",
|
description: "Retrieve detailed information about a specific OpenCode session.",
|
||||||
|
tags: ["Session"],
|
||||||
operationId: "session.get",
|
operationId: "session.get",
|
||||||
responses: {
|
responses: {
|
||||||
200: {
|
200: {
|
||||||
|
|
@ -610,6 +611,7 @@ export namespace Server {
|
||||||
"/session/:sessionID/children",
|
"/session/:sessionID/children",
|
||||||
describeRoute({
|
describeRoute({
|
||||||
summary: "Get session children",
|
summary: "Get session children",
|
||||||
|
tags: ["Session"],
|
||||||
description: "Retrieve all child sessions that were forked from the specified parent session.",
|
description: "Retrieve all child sessions that were forked from the specified parent session.",
|
||||||
operationId: "session.children",
|
operationId: "session.children",
|
||||||
responses: {
|
responses: {
|
||||||
|
|
|
||||||
|
|
@ -910,6 +910,9 @@
|
||||||
],
|
],
|
||||||
"summary": "Get session",
|
"summary": "Get session",
|
||||||
"description": "Retrieve detailed information about a specific OpenCode session.",
|
"description": "Retrieve detailed information about a specific OpenCode session.",
|
||||||
|
"tags": [
|
||||||
|
"Session"
|
||||||
|
],
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"description": "Get session",
|
"description": "Get session",
|
||||||
|
|
@ -1107,6 +1110,9 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"summary": "Get session children",
|
"summary": "Get session children",
|
||||||
|
"tags": [
|
||||||
|
"Session"
|
||||||
|
],
|
||||||
"description": "Retrieve all child sessions that were forked from the specified parent session.",
|
"description": "Retrieve all child sessions that were forked from the specified parent session.",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue