This directory contains the OpenAPI specification for Supabase Management APIs.
It is used to automatically generate the Go client and types.
The specification yaml is generated from our NestJS middleware. The latest release is viewable as Swagger UI.
To make a new release:
- Update
beta.yaml
with the latest version from local development
curl -o api/beta.yaml http://127.0.0.1:8080/api/v1-yaml
- Regenerate the Go client and API types
go generate
- [Optional] Manually add properties not generated by NestJS