Dax Raad 2 miesięcy temu
rodzic
commit
f8807144d4
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      packages/console/app/src/routes/openapi.json.ts

+ 7 - 0
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
+}