Repository navigation
Release 0.2.1
🎉 Release 0.2.1
This release aligns the repository around a clearer separation of concerns:
- Demo service remains under
com.example.demo. - Reusable client library migrates to
io.github.bsayli.openapi.client.
✨ Highlights
- Namespace migration (client)
com.example.demo.client.*→io.github.bsayli.openapi.client.* - Maven coordinates
Updated clientgroupId→io.github.bsayli - OpenAPI Generator config
UpdatedapiPackage,modelPackage,invokerPackageto new namespace - Mustache partial
api_wrapper.mustachenow extends the base class via FQN:
extends io.github.bsayli.openapi.client.common.ApiClientResponse<T> - Spec alignment
Fixed server URL and response code (201) to match the demo service - Docs
Updated README examples and replaced wrapper screenshot to reflect new namespace
⚠️ Breaking Change
The client library namespace has changed.
If you upgrade from 0.1.x, update your imports and configuration:
io.github.bsayli.openapi.client.generated.*
io.github.bsayli.openapi.client.common.ApiClientResponse📦 Modules
customer-service0.2.1 — demo Spring Boot service (unchanged API, version bumped for consistency)customer-service-client0.2.1 — reusable OpenAPI client with generics-aware wrappers
🚀 Quick Start
# 1) Run the service
cd customer-service
mvn spring-boot:run
# 2) Build the client
cd ../customer-service-client
mvn clean install📎 Assets (optional)
To enrich the release, consider attaching:
customer-service-client-0.2.1.jar(and-sources.jar)- Generated sources archive:
generated-client-sources-0.2.1.zip - Updated screenshot:
generated-client-wrapper.png