Help

OpenAPI Specification Generator Block

Topic Labels: Custom Extensions
3328 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Giovanni_Briggs
6 - Interface Innovator
6 - Interface Innovator

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

Image 2020-07-11 at 11.15.01 AM

1 Reply 1
climesumer
6 - Interface Innovator
6 - Interface Innovator

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

Many thanks