Skip to content

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

Update web/spec/supabase.yml

Copple2b858ab5e2aa
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index 474589a1468..1e295be78b1 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -396,7 +396,7 @@ pages:
One way to keep your type definitions in sync with your database is to set up a GitHub action that runs on a schedule.
Supabase offers a Swagger OpenAPI specification for the REST data endpoint which you can use to generate definitions.
- The following script can be run in your terminal to test this.
+ The following script can be run in your terminal to produce the file `types/database/index.ts`.
```
npx openapi-typescript https://your-project.supabase.co/rest/v1/?apikey=your-anon-key --output types/database/index.ts
```