Closed newsgrep closed 3 days ago
should be fixed via https://github.com/OpenAPITools/openapi-generator/pull/19014
please give it a try with the latest master (snapshot version mentioned in the project's readme will be published later as part of the travis ci workflow)
Description
It seems like there is a problem with anyOf in the contect of response's. When I try to generate my API I get an exception. Excerpt of the OpenAPI file: myapi.json From Version 7.6
openapi-generator version
Get the same error 7.6 and 7.7-Snapshot But not on 7.4 and 7.5
OpenAPI declaration file content or url
myapi.json
Command line used for generation
openapi-generator-cli generate -g java -i myapi.json running Fedora Linux
Steps to reproduce
run any generator with the attached myapi.json
Related issues/PRs
https://github.com/OpenAPITools/openapi-generator/issues/18655 https://github.com/OpenAPITools/openapi-generator/issues/18732
Suggest a fix/enhancement
Please add a more descriptive exception for similar issues.