You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the client relies on Swagger/OpenAPI codegen for the HTTP layer. We want to own the HTTP transport entirely — fewer dependencies, full control over serialization, better error handling.
Related: #43 (Move away from swagger generated APIs)
Requirements
Internal HttpClient
A package-private HTTP client that the Client and Collection implementations use. NOT part of the public API.
Context
Currently the client relies on Swagger/OpenAPI codegen for the HTTP layer. We want to own the HTTP transport entirely — fewer dependencies, full control over serialization, better error handling.
Related: #43 (Move away from swagger generated APIs)
Requirements
Internal HttpClient
A package-private HTTP client that the
ClientandCollectionimplementations use. NOT part of the public API.Dependencies
Serialization
TypeTokenfor generic types (e.g.,List<CollectionModel>) — this fixes the generic deserialization bugs in PR [TST] Add v2 API #80Where→ JSON mapWhereDocument→ JSON mapIncludeenum ↔ stringDistanceFunctionenum ↔ string@SerializedNamewhere field names differ from Java conventionError Handling
errorandmessagefields)IOExceptionasChromaConnectionExceptionURL Building
/api/v2Acceptance Criteria
HttpTransportclass with get/post/delete/put methodsDepends On
Supersedes