Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java/JaxRsSpec enum name inconsistency #7725

Closed
lborupj opened this issue Feb 25, 2018 · 0 comments
Closed

Java/JaxRsSpec enum name inconsistency #7725

lborupj opened this issue Feb 25, 2018 · 0 comments

Comments

@lborupj
Copy link
Contributor

lborupj commented Feb 25, 2018

Description

When generation enums (inline but same for all) an attempt to find a common prefix takes place which which affects enums with only one element, where anything before an underscore is removed in enum name. If another enum value is added, this will change naming and hence break code.

Swagger-codegen version

2.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants