1.45.4
(fix): Fix generated Go failing to compile when an undiscriminated union is sent as
a request header. Such unions now generate a String() method (fmt.Stringer)
and the client serializes the header via that method, instead of passing the
union struct where a string is expected.
1.45.3
(fix): Fixed pagination for endpoints whose results property is a named alias to a
list or set (e.g. results: $response.data where data is a UserList
alias). Previously v1 generation aborted with “unsupported pagination
results type”, and once that was resolved the generated pager used the alias
itself as the page element type, producing code that did not compile. The
results element type is now resolved through alias indirection (and
optional/nullable wrappers) in both generators, so the pager’s element type
matches the endpoint’s returned page type.