mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
openapi route
This commit is contained in:
parent
ebb4c8a724
commit
f8807144d4
1 changed files with 7 additions and 0 deletions
7
packages/console/app/src/routes/openapi.json.ts
Normal file
7
packages/console/app/src/routes/openapi.json.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export async function GET() {
|
||||
const response = await fetch(
|
||||
"https://raw.githubusercontent.com/sst/opencode/refs/heads/dev/packages/sdk/openapi.json",
|
||||
)
|
||||
const json = await response.json()
|
||||
return json
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue