Fern Definition isn’t recommended for new customers and Fern isn’t accepting feature requests for this format. It remains supported for existing users.
Endpoints in Fern are defined underneath the endpoints key. Below is an example of defining
a single REST endpoint:
You can provide examples of requests and responses by using the examples key.