OpenAPI Generics documentation

Preserve Java envelope and container identity across ServiceResponse<Page<CustomerDto>> → OpenAPI metadata → generated wrapper extends shared contract. For the problem, concrete before/after and project overview, start with the README.

Consumer examples target the public 1.3.0 release. This site is built from main, currently on 1.3.1-SNAPSHOT, and may include later documentation improvements. For the release snapshot use tagged 1.3.0 documentation.

What are you trying to do?

Task Start here Result
Generate and compile your first client Quickstart One payload, public dependencies, Maven or Gradle
Publish generic contracts from a Spring MVC service Server adoption Springdoc output carries envelope, container and payload metadata
Keep an existing application-owned envelope Choose the envelope BYOE (Bring Your Own Envelope) preserves ownership without duplicate client configuration
Generate a Maven client Maven setup Prepared templates, reconstructed wrappers and registered Java sources
Generate a Gradle client Gradle setup Official-plugin integration and automatic selected-task source wiring
Reuse existing Java DTOs Optional BYOC (Bring Your Own Contract) mappings Existing DTOs satisfy selected schemas instead of duplicate generation
Use an application-defined container Container registration Explicit Java identity survives projection and reconstruction
Check tool versions or supported shapes Compatibility reference Supported lines, current references and integration-specific edges

Follow a working application

Generated wrappers are transport bindings. Keep them and generated API/invoker classes behind the client library boundary. BYOC is optional; envelope/container preservation does not require sharing every DTO.

Verify or understand the implementation

Question Reference
What metadata should the producer emit? Projection metadata and checks
What should a generated client preserve? Client verification
Which tests prove wiring, compilation or runtime interoperability? Verification layers
How are projection, reconstruction and build integrations separated? Architecture
Why preserve Java contract ownership? Design rationale
What changed in 1.3.0? Changelog

Release consumer examples use explicit platform versions and release repositories; the repository samples also document their separate development bootstrap. See consumer prerequisites.

Source and issues · Discussions

Documentation measurement

The repository README and this home page use Scarf page-view pixels. These cookie-free image requests reach Scarf, which uses IP addresses to look up company information. The pixels do not send a referrer. The Java libraries and Gradle plugin contain no runtime telemetry. Page views do not establish unique users or production adoption.


This site uses Just the Docs, a documentation theme for Jekyll.