Skip to content

Latest commit

 

History

History
 
 

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Supabase OpenAPI Specification

This directory contains the OpenAPI specification for Supabase Management APIs.

It is used to automatically generate the Go client and types.

Updating the specification

The specification yaml is generated from our NestJS middleware. The latest release is viewable as Swagger UI.

To make a new release:

  1. Update beta.yaml with the latest version from local development
curl -o api/beta.yaml http://localhost:8080/api/v1-yaml
  1. Regenerate the Go client and API types
go generate tools/codegen/main.go
  1. [Optional] Manually add properties not generated by NestJS