openapi route

pull/5153/head
Dax Raad 2025-12-05 20:10:50 -05:00
parent ebb4c8a724
commit f8807144d4
1 changed files with 7 additions and 0 deletions

View 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
}