1.49.2
(fix): Fix a compile error when a global header is optional and has an env fallback.
The generated env-fallback code compared and assigned the pointer-typed options
field as a plain string (e.g. options.Version == ""). Optional header fields
are now nil-checked and assigned via a pointer
(if options.Version == nil { if value := os.Getenv("MY_API_VERSION"); value != "" { options.Version = &value } }).
1.49.1
(fix): Fix compile errors in the generated OAuth and inferred auth token fetching code when
the token endpoint’s response properties are optional or nullable (generated as
pointer types in Go), or when expires_in is an int64. Also ensure required nullable
inferred-auth credentials are included in token requests as pointers.