Closed JanC closed 2 years ago
Thanks @JanC. Could you also add an example to the test spec here https://github.com/yonaskolb/SwagGen/blob/master/Specs/TestSpec/spec.yml and also a changelog entry
somehow the CI keeps on failing but I think it's unrelated to this PR.
@yonaskolb any idea why?
Thanks @JanC! Yeah the CI is failing for a different reason, and I haven't had time to look into it. Not sure what's happening
thanks for merging 🙏
This PR changes the generation of composed types (oneOf, anyOf) to prefer the composed type instead of the
object
when both are present in the schemaSee ticket for detailed description
https://github.com/yonaskolb/SwagGen/issues/302