mastodon-openapi icon indicating copy to clipboard operation
mastodon-openapi copied to clipboard

OpenAPI definition for the Mastodon API.

mastodon-openapi

An OpenAPI definition for Mastodon's REST API.

Why?

OpenAPI definitions can be used to generate client libraries for APIs with proper type safety. There's been an issue open for quite a while to create an OpenAPI spec, but not much work has been done on it.

This project aims to provide a simple API definition made by hand and based off the docs on the website. We're using Stoplight Studio to do editing and validation.

To contribute, just clone the repository locally and open the folder in Stoplight Studio. Feel free to modify the file from there and make pull requests as necessary.