[BUG] [JAVA][MVN] 6.3.0 Generation of arrays with elements containing anyOf
is broken
#14708
Closed
5 of 6 tasks
Labels
Bug Report Checklist
Description
When generating code using openapi-generator-maven-plugin 6.3.0 with an array containing an object having
anyOf
(see provided example), the generated code is broken:Cannot resolve method 'toUrlQueryString' in 'ArrayItem'
Without the
anyOf
in the OpenAPI yaml file, the code is correct.openapi-generator version
Version 6.3.0, it worked fine in 6.2.1
OpenAPI declaration file content or url
https://gist.github.com/mvanglabbeek/30951b64448e74f8a8182e2f0b57e995
Generation Details
Via, openapi-generator-maven-plugin see https://gist.github.com/mvanglabbeek/30951b64448e74f8a8182e2f0b57e995
Steps to reproduce
Generate the code using the openapi-generator, using mvn 3.8.1
Related issues/PRs
#14178
Suggest a fix
The text was updated successfully, but these errors were encountered: