API version

View as Markdown

You can define your API version scheme, such as a X-API-Version header. The supported versions and default value are specified like so:

openapi.yaml
1x-fern-version:
2 header: X-API-Version
3 default: "2.0.0"
4 values:
5 - "1.0.0"
6 - "2.0.0"
7 - "latest"
8paths: ...