Skip to content

Allow setting global enum naming strategy similar to property naming strategy #4674

@hajdamak

Description

@hajdamak

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

  • Currently you have to annotate all enums with EnumNaming in order to change default enum naming strategy which is cumbersome and verbose.

Describe the solution you'd like

It should be possible to set default enum naming strategy directly on ObjectMapper.

Usage example

ojbectMapper.setEnumNamingStrategy(EnumNamingStrategies.CAMEL_CASE)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.19Issues planned at 2.19 or later

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions