generated client
Client code produced automatically from an API specification such as an OpenAPI document.
In more detail
When the specification changes, regenerating the client shows exactly which calls and fields change, so reviewing that diff reveals which consumers will notice. Generation keeps client code in step with the specification instead of relying on people to copy changes by hand.
Related terms
- OpenAPI — A standard, language-neutral format for describing an HTTP API: its paths, operations, parameters, request and response schemas, errors and security.
- diff — A listing of the differences between two versions of something, such as two files, two commits or two screenshots.
- contract drift — When the data a server actually sends slowly stops matching what its clients expect, usually without anyone noticing until something breaks.
Taught in
- Implementing An OpenAPI Contract — Modern Java: Virtual Threads & High-Throughput Services