Open lvjp opened 9 months ago
For anyone who wants to work on this ticket: A fix for the same problem in other generators has been merged already in https://github.com/OpenAPITools/openapi-generator/pull/17431. Fixing the same problem for further generators will probably work in the same way.
Bug Report Checklist
Description
When you have a
Version
structure with aversion
field the generated equals method do not working since fields are not accessed withthis.
.openapi-generator version
I'm using the docker image
v7.0.2
.OpenAPI declaration file content or url
Generation Details
Suggest a fix
Change generation to have this diff on generated output :