OneOf
type of response. The generated code does not compile.contact-info
which is either a email
or a telephoneNumber
.contact-info
is referring a class named OneOftelephoneNumberemail
. But that class is not generated. And the maven compile failed.anyOf
definition.I have tried many versions including the latest release 5.1.1 and the 5.2.0-SNAPSHOT. This error shows up on all the versions.
OpenAPI declaration file content or urlhttps://github.com/bnlcnd/poc-anyof-oneof/blob/main/anyof-oneof.yaml
Generation Detailsthe POM file can be found here
https://github.com/bnlcnd/poc-anyof-oneof/blob/main/pom.xml
This issue seems lingering around for several years. Maybe it's time to fix it for both oneOf
and anyOf
.
dmitry-weirdo, ohchase and enekonieto
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4