What is an OpenAPI Specification?
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.
Below is an example of an OpenAPI file:
openapi.yml
Setup your fern folder
Considering options to generate an OpenAPI spec? Get live support here
Start by initializing your fern folder with an OpenAPI spec
This will initialize a directory like the following