0.36.5
(fix):
Fix an issue where map
values were not correctly serialized as deep object query parameters.
(fix):
Fix an issue where map
values were not correctly serialized as deep object query parameters.
(fix):
Fix an issue where the go-v2
generator call prevented the go
generator from succeeding in remote code generation environments.
(fix):
Fix an issue where the version header specified by the user wasn’t being used.
(fix):
Fix cursor pagination stopping condition when the cursor types do not match (e.g. a *string
cursor type with a string
next cursor type).
(fix):
Fix offset pagination method generation for non-integer offset parameters (e.g. float64
).
(feat):
Adds support for a few new configuration options, all of which are shown below:
With this, the generated SDK will all be deposited at the root of the module, and the client can be constructed like so:
(fix):
Fixes an issue where certain literal string values were incorrectly generated in undiscriminated unions.
(fix):
Fixes an issue where custom names applied to a basic auth scheme were not preserved.
(fix):
Fixes an issue where the delimiter length was included during stream data read, even when the delimiter was missing, leading to a bufio.ErrAdvanceTooFar
error
(feat):
Add support for sending the User-Agent
header on every request. Go packages are uniquely identified by their full module path, so the User-Agent
header is generated in the <module>/<version>
format, e.g.
User-Agent: github.com/acme/acme-go/1.0.0
(feat):
Add support for the inlinePathParameters
configuration option, which generates path parameters in the generated request type (if any) instead of as separate positional parameters.