August 20, 2024

0.39.11

(fix): The Fern CLI now handles parsing x-fern-parameter-name on path parameters in an OpenAPI spec.

What’s been fixed

  • Fix: The Fern CLI now handles parsing x-fern-parameter-name on path parameters in an OpenAPI spec. For example, if you want to rename a path parameter in the generated SDK, you can now do:
1paths:
2 "/user":
3 get:
4 operationId: list_user
5 parameters:
6 - in: header
7 name: X-API-Version
8 x-fern-parameter-name: version
9 schema:
10 type: string
11 required: true

For more information, please check out the docs.