Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Enum constant names are being stripped of their underscores. #28

Description

@patrickguenther

It's just a cosmetic thing really, but quite annoying.
This issue is due to this line:

return buildJavaFriendlyName(value, NameFixer.ALL_UPPER, 0);

Shouldn't you rather create a new NameFixer for this, that prepends an underscore in it's fixOthers method? Or maybe even change the ALL_UPPER name fixer to do that?
We recently upgraded from raml-to-jaxrs-maven-plugin version 1.3.4 to 3.0.4 and back then underscores were preserved in enum constant names. Or is there a specific reason for the way it works right now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions