> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. ## 2.40.0 **`(feat):`** Add support for client-side default parameter values via `use-default-request-parameter-values` flag. When enabled, query and header parameters with defaults become Optional types and defaults are automatically applied when not provided. Example: ```yaml customConfig: use-default-request-parameter-values: true ``` Generated code: ```java // Parameters with defaults become Optional private final Optional perPage; // Has default: 50 // Defaults are applied automatically QueryStringMapper.addQueryParameter(httpUrl, "per_page", request.getPerPage().orElse(50), false); ```