diff --git a/fern/products/sdks/generators/go/configuration.mdx b/fern/products/sdks/generators/go/configuration.mdx index b2ab98f73..0c8e8fdaa 100644 --- a/fern/products/sdks/generators/go/configuration.mdx +++ b/fern/products/sdks/generators/go/configuration.mdx @@ -23,6 +23,10 @@ groups: When enabled, ensures that all required properties are always included in API requests, even if they have default values or are otherwise optional in the implementation. + +When enabled, passing `nil` as the request argument encodes query parameters as if a zero-value request struct were passed, so query parameter defaults are still sent. By default, `nil` requests drop those defaults. + + Overrides the API-wide [`api.settings.auto-generate-idempotency-key`](/learn/sdks/reference/generators-yml#settings) for this SDK. Set `true` to attach an [idempotency-key header](/learn/sdks/deep-dives/idempotency#auto-generate-idempotency-keys) to eligible requests (`POST` and `PUT` by default) unless the caller provides one, or `false` to opt this SDK out when auto-generation is enabled API-wide. Pass an object to customize `header-name` and `methods`.