Skip to main content

OpenAPI Specification Generator Block

  • July 11, 2020
  • 1 reply
  • 223 views

Forum|alt.badge.img+4

OpenAPI is an API specification format which provides a way of creating a standard format to represent a given REST API. There’s a large community of tools built on top of the OpenAPI definition, including mock servers, schema visualizers, and SDK generators for a given language.

Using Custom Blocks and the OpenAPI Schema UI we can create block which reads a base’s schema, generates the corresponding OpenAPI definition, and then displays the resulting documentation. Users can then export this schema and run it through any of the open-sourced OpenAPI tools. The Swagger UI also provides a way to make API calls from the documentation, so it can also be used as a playground to experiment with the Airtable API and see those changes immediately reflected in your base.

Full source at https://github.com/TheF1rstPancake/AirtableOpenAPICustomBlock

1 reply

Forum|alt.badge.img+6
  • Inspiring
  • April 20, 2024

Hey, could you share how exactly this is done?
I am stuck in setting it up with the command line.

Many thanks