Customize parameter names
The x-fern-parameter-name
extension allows you to customize the variable names of parameters in your generated SDKs.
Headers
In the example below, the header X-API-Version
is renamed to version
in the
generated SDK. The rename makes the SDK more human readable.
Query parameters
In the example below, the query parameter q
is renamed to search_terms
in the
generated SDK. The rename makes the parameter more approachable for end users.
Path parameters
In the example below, the path parameter userId
is renamed to id
in the
generated SDK. The rename makes the SDK less verbose.