OpenAPI / Swagger spec for REST API


Is there an OpenAPI or Swagger specification for the REST API? I’d like to have one to use to auto-generate SDKs using the OpenAPI Generator project:

I haven’t found one so far so I started working on one, along with a Go SDK.

Here’s my minimal OpenAPI 3.0 spec. We host our own metabase so I just put in an URL in the spec which is designed to be overridden in the config of the SDK.

And my Go SDK so far:

If others are interested in working on this together, I can post this to its own repo.