Skip to content

Files

Latest commit

01f4609 · Feb 6, 2024

History

History
This branch is 1205 commits behind supabase/cli:develop.

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 21, 2023
Feb 6, 2024

README.md

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://127.0.0.1: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