Skip to content

Support migration to Jakarta by allowing customization of @Generated annotation #1016

@blaenk

Description

@blaenk

Is your feature request related to a problem? Please describe.

With upgrading to Spring Boot 3 and its accompanying Jakarta migration, I would like to switch to using jakarta.annotation.* over javax.annotation.*.

For @NotNull annotations this can be done with the modelValidationAnnotation codegen option but there is no such option for the @Generated annotation short of disabling that feature altogether with addGeneratedAnnotation.

Describe the solution you'd like

Add a generatedAnnotation codegen option or something like it?

Describe alternatives you've considered

Can't think of any but I defer to you.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions