openapi route
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user