openapi route

This commit is contained in:
Dax Raad 2025-12-05 20:10:50 -05:00
parent ebb4c8a724
commit f8807144d4

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
}