mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
added app
This commit is contained in:
parent
bfb36a8566
commit
274c8baa34
2 changed files with 169 additions and 0 deletions
|
|
@ -25,6 +25,25 @@
|
|||
"description": "Get events"
|
||||
}
|
||||
},
|
||||
"/app_info": {
|
||||
"post": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "200",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/App.Info"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"operationId": "postApp_info",
|
||||
"parameters": [],
|
||||
"description": "Get app info"
|
||||
}
|
||||
},
|
||||
"/path_get": {
|
||||
"post": {
|
||||
"responses": {
|
||||
|
|
@ -910,6 +929,42 @@
|
|||
"time"
|
||||
]
|
||||
},
|
||||
"App.Info": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"time": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"initialized": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"path": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "string"
|
||||
},
|
||||
"root": {
|
||||
"type": "string"
|
||||
},
|
||||
"cwd": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"data",
|
||||
"root",
|
||||
"cwd"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"time",
|
||||
"path"
|
||||
]
|
||||
},
|
||||
"Provider.Info": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue