Skip to content

Initial Demo Release

Choose a tag to compare

@bsayli bsayli released this 30 Aug 23:43
· 122 commits to main since this release

🎉 First demo release of spring-boot-openapi-generics-clients

This release showcases how to generate type-safe OpenAPI clients that keep a generic ApiResponse<T> envelope—no more duplicated wrappers per endpoint.

What’s included

  • Sample Spring Boot 3.4 microservice: customer-service
  • Generated client with generics-aware wrappers: customer-service-client
  • Tiny custom Mustache partial for OpenAPI Generator
  • Integration test with OkHttp MockWebServer
  • Docs with Quick Start and screenshots (Swagger + generated wrapper)

Quick Start

# 1) Run the service
cd customer-service
mvn spring-boot:run

# 2) Build the client
cd ../customer-service-client
mvn clean install