Base path

Base path

The x-fern-base-path extension is used to configure the base path prepended to every endpoint.

In the example below, we have configured the /v1 base path so the full endpoint path is https://api.example.com/v1/users.

Set the base path in openapi.yml
1x-fern-base-path: /v1
2servers:
3 - url: https://api.example.com
4paths:
5 /users: ...