Breaking
Adopting the upstream Broker and Trading documents, which are now OpenAPI 3.1.2 rather than 3.0.0,
changed two parts of the generated API surface.
- Broker
EventsApi.subscribeToFundingStatusSSEnow returnsList<StatusFundingEvent>, and
BrokerEventsSseClient.subscribeToFundingStatusemitsStatusFundingEvent. The
SubscribeToFundingStatusSSE200ResponseInnerwrapper is removed; it only ever held a
single-member union and now collapses to the member itself. - Broker and Trading
OrderLeg.getLegs()returnsObjectrather thanList<Object>, and
addLegsItemis gone. Upstream now declares the property as null-only, matching its existing
documentation that legs are never nested beyond one level.
Fixed
- Preprocessing now normalizes the OpenAPI 3.1 constructs that the Java generator renders into
uncompilable or under-typed code, so adopting a 3.1 document no longer silently degrades the
generated clients:- A standalone
type: 'null'schema became aModelNullclass the generator never emitted,
breaking compilation. Null-only subschemas ofanyOf/oneOfare left alone, since those
are the idiomatic 3.1 spelling of "nullable" and already generate correctly. - A schema with
itemsand notypeis no longer read as an array, which had turned Broker
FundingWalletsApi.listFundingDetailsinto a bareObject. - A
oneOfof string enums is collapsed back into one enum, keeping BrokerJournalStatusFrom
andTransferStatusFromas enums instead ofAbstractOpenApiSchemawrappers. - Path-item parameters are inlined into each operation ahead of the operation's own parameters,
which had otherwise duplicated BrokercreateTransferForAccount'saccount_idinto a second
accountId2argument and reorderedgetOrderByClientOrderIdForAccount's arguments.
- A standalone
Changed
- GitHub Releases now use the curated
CHANGELOG.mdsection for the tag (with a
non-empty[Unreleased]fallback), then append GitHub’s compare link for the
tag range. The release workflow fails before Maven Central if neither section
has content, and the post-release bump PR promotes[Unreleased]to a dated
version section when needed.
Full Changelog: v0.1.2...v0.1.3