0.41.1
(feat):
Adds a V2 configuration for the api
block that is more flexible and allows
OpenAPI users to consume Fern Definition features.
For example, now you can override environments directly in the api configuration:
If you want to define, multi-url environments, those can be done by configuring the following generators.yml:
Note that you will need to use the x-fern-server-name
annotation on each endpoint to assign it to a relevant server. For example,
0.41.0
(feat):
Adds generic object declarations to the fern definition. Now we can define generics and
use them in alias declarations to minimize code duplication:
More information can be found here: https://buildwithfern.com/learn/api-definition/fern/types#generics.