1.18.0

(feat): Add support for custom pagination (with particular implementation) Fix dynamic snippets handling for alias of collection literals.

1.17.1

(fix): Remove using generator-cli to push to GitHub for self-hosted SDKs; this is now handled in the local workspace runner.


1.17.0

(feat): Provide Page.Response for accessing the full response type returned by the call to the relevant endpoint.

Pagination now automatically includes the following fields on each page:

1type Page[Cursor comparable, T any, R any] struct {
2 Results []T
3 Response R
4 RawResponse PageResponse[Cursor, T, R]
5 StatusCode int
6 Header http.Header
7 ...
8}

where Results is the standard slice of results, sufficient for most use cases; Response is the full response type of the HTTP call, which includes the Results as a sub-attribute; RawResponse, which exposes the underlying pagination mechanism if need; and StatusCode and Header, raw HTTP response metadata corresponding to the data returned by withRawResponse() on non-paginated endpoints.

1.16.5

(fix): Fix Basic auth header formatting to remove erroneous whitespace between username and password. Passwords with colons are now properly supported per RFC 7617 specification.

1.16.4

(chore): Reasonable default for empty request bodies in wiremock json mappings.

1.16.3

(chore): Bump generator CLI version to publish new Docker image.


1.16.2

(fix): Ensure wire tests run in CI correctly with docker compose strategy.

1.16.1

(chore): Update documentation on retrieving the raw response for paginated/non-paginated endpoints.


1.16.0

(feat): Provide Page.Header and Page.StatusCode for accessing the headers and status codes of paginated responses; unlike for non-paginated responses, this raw data is always included in the response.

1.15.2

(fix): Fix dynamic snippets behavior to use same defaults for inline request parameters.


1.15.1

(fix): Fix issue where unmarshaling optional bodies for requests with non-primitive query params tried to assign a value type to a pointer field.


1.15.0

(feat): Add custom license file support for local generation and normalize version format with ‘v’ prefix following Go conventions