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.

1response, err := client.WithRawResponse.GetUser(...)
2fmt.Printf("Got response headers: %v", response.Header)

(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.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 now true by default.
  • inlineFileProperties is now true by default.
  • inlinePathParameters is now true by default.
  • useReaderForBytesRequest is now true by default.
  • union is now v1 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.4

(fix): Fix an issue where enum values containing double quotes were not properly escaped in generated code.