Swagger Codegen vs. OpenAPI Generator: Consistent polymorphic model generation in CI/CD
When a team uses a repeatable CI/CD pipeline to generate SDKs from an OpenAPI 3.x spec, the mapping of oneOf and anyOf schemas to statically‑typed language models is a frequent source of drift. The OpenAPI Generator fork of Swagger Codegen supports a wide array of target languages, but each language’s template implements its own heuristic for polymorphism (s