diff options
| -rw-r--r-- | packages/console/app/src/routes/openapi.json.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/console/app/src/routes/openapi.json.ts b/packages/console/app/src/routes/openapi.json.ts new file mode 100644 index 000000000..8b27cb89a --- /dev/null +++ b/packages/console/app/src/routes/openapi.json.ts @@ -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 +} |
