davidmoten / openapi-codegen

OpenAPI Java client and Spring server generator, strong typing, immutability, fail-fast validation, chained builders, feature rich
Apache License 2.0
8 stars 1 forks source link

fix AnyOf #81

Closed davidmoten closed 1 year ago

davidmoten commented 1 year ago

This PR adds full anyOf support when there is no discriminator though null types haven't been considered yet. Previously was being handled like oneOf so some field loss could occur in round trip serialization/deserialization.