Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: update api-types codegen URL to match internal changes, `/api.json` no longer exists (#29722)

Beng Eu57d8f9217603
diff --git a/packages/api-types/package.json b/packages/api-types/package.json
index 69ea1dacb6f..a71266edcba 100644
--- a/packages/api-types/package.json
+++ b/packages/api-types/package.json
@@ -5,7 +5,7 @@
"main": "./index.ts",
"types": "./index.ts",
"scripts": {
- "codegen": "openapi-typescript http://localhost:8080/api.json -o types/api.d.ts --alphabetize && prettier --write types/api.d.ts"
+ "codegen": "openapi-typescript http://localhost:8080/api-json -o types/api.d.ts --alphabetize && prettier --write types/api.d.ts"
},
"author": "",
"license": "MIT",