Open rogeriobautz opened 4 days ago
The enum constants names are being cut off when they have the equals first parts before an underline.
public enum EnumCalculation { UTEIS("DIAS_UTEIS"), CORRIDOS("DIAS_CORRIDOS"); private String value; //... }
7.7.0
enum: - DIAS_UTEIS - DIAS_CORRIDOS example: DIAS_CORRIDOS
Complete file issues.zip
npx @openapitools/openapi-generator-cli generate -i issues.yml -g java -o ./tmp/test/ --additional-properties=useJakartaEe=true,serializationLibrary=jackson,library=microprofile,useBeanValidation=true
Install operaapi-generator-cli and run the command above
same as #18889
Description
The enum constants names are being cut off when they have the equals first parts before an underline.
openapi-generator version
7.7.0
OpenAPI declaration file content or url
Complete file issues.zip
Generation Details
npx @openapitools/openapi-generator-cli generate -i issues.yml -g java -o ./tmp/test/ --additional-properties=useJakartaEe=true,serializationLibrary=jackson,library=microprofile,useBeanValidation=true
Steps to reproduce
Install operaapi-generator-cli and run the command above