What is an OpenAPI Specification?
OpenAPI is a standard for documenting REST APIs
The OpenAPI Specification (OAS) is a framework used by developers to document REST APIs. The specification written in JSON or YAML and contains all of your endpoints, parameters, schemas, and authentication schemes. Fern is compatible with the latest OAS release, which is currently v3.1.1.
Considering options to generate an OpenAPI spec? Get live support here
Below is an example of an OpenAPI file:
openapi.yml
Setup your Fern folder
Start by initializing your Fern folder with an OpenAPI spec
This will initialize a directory like the following