1.5.3
(fix):
Fix a regression where the useReaderForBytesRequest
configuration option was not being respected after 1.5.0
.
1.5.1
(fix):
Enum headers are now correctly serialized in API requests. When an endpoint specifies an enum type for a header
parameter, the SDK will automatically serialize the enum value to its string representation as expected by the API.
1.5.0
(internal):
Update the primary client to delegate to the new raw client to reduce code duplication.
1.4.0
(feat):
Add support for receiving raw response headers from API calls with the new WithRawResponse
client field
for multipart/form-data endpoints.
1.3.0
(feat):
Add support for receiving raw response headers from API calls with the new WithRawResponse
client field.
(feat):
Bump the minimum Go version to 1.18
because generics are now required by the SDK. Version 1.18 was
originally released over three years ago, so this is well within the official Go support window found
at https://go.dev/doc/devel/release#policy
1.2.0
(feat):
Add support for generating README.md
when filesystem publishing is enabled.
1.1.0
(feat):
Add support for HEAD method requests. These client methods return the raw http.Header
type.
(fix):
Update the file header to follow go:generate
naming conventions. For details, see
https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source
1.0.0
(feat):
Major version release to update the generator’s default set of configuration options.
The following configuration options have been updated:
alwaysSendRequiredProperties
is nowtrue
by default.inlineFileProperties
is nowtrue
by default.inlinePathParameters
is nowtrue
by default.useReaderForBytesRequest
is nowtrue
by default.union
is nowv1
by default.
0.38.0
(feat):
Add support for the useReaderForBytesRequest
configuration option, which generates
io.Reader
request parameters instead of []byte
request parameters.
0.37.5
(fix):
Add support for the custom introduction setting in the generated README.md.
0.37.4
(fix):
Fix an issue where enum values containing double quotes were not properly escaped in generated code.