Custom Go-based generator that reads the repository’s openapi.json and emits the Java SDK in a tag-based structure. Each tag becomes its own client and the runtime is kept intentionally small so we can iterate quickly.
go -C codegen run . generate--spec(default../openapi.json) – path to the OpenAPI document.--output(default../src/main/java) – directory where Java sources are written.--package(defaultcom.sumup.sdk) – base package for generated classes.
The command is idempotent; rerunning it rewrites the generated clients in-place. Continuous Integration runs the same invocation and fails when the working tree is dirty afterward.