Skip to content

Support additional-model-type-annotations for Server Generator #1273

@krisraich

Description

@krisraich

Tell us the extension to which you'd like to add the feature.

Server

What kind of feature would you like to add?

It would be really handy if the additional-model-type-annotations setting would also be available for the server side generator.

Proposal(s):

Something like this:
<quarkus.openapi.generator.additional-model-type-annotations>@lombok.EqualsAndHashCode</quarkus.openapi.generator.additional-model-type-annotations>

Alternative(s):

Implement a better equals method?

Additional info:

To make my API idempotent I'd like to check if a request is identical to a previous one. For this i need a properly implemented equals method.

It would be great if the generator would support this :)

Thanks!

Community Notes

  • Please vote by adding a 👍 reaction to the feature to help us prioritize.
  • If you want to work on this feature, please leave a comment.

Metadata

Metadata

Assignees

Labels

area:serverThis item is related to the server extension

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions