Relative Content

Tag Archive for javaopenapiquarkusquarkus-qute

openapi quarkus – missing equals and hashCode in generated methods

I use this library on Quarkus https://docs.quarkiverse.io/quarkus-openapi-generator/dev/client.html
My class generated by the open api plugin doesnt have “hashCode” and “equals” methods but “toString” only..
I want to know how i can find the right template to copy to my resources directory for adding these methods by myself (using qute syntax) or are there other more fast alternative, please?
I need to make it using only a subset of fields in the comparation.
Let me know. The documentation link https://github.com/quarkiverse/quarkus-openapi-generator/tree/main/integration-tests/custom-templates doesn’t work.