diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/enumOuterClass.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/enumOuterClass.mustache index 7aea7b92f22f..4e2fa16da0fb 100644 --- a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/enumOuterClass.mustache +++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/enumOuterClass.mustache @@ -1,3 +1,3 @@ public enum {{classname}} { - {{#allowableValues}}{{.}}{{^-last}}, {{/-last}}{{/allowableValues}} + {{#allowableValues}}{{#enumVars}}{{{name}}}{{^-last}}, {{/-last}}{{/enumVars}}{{/allowableValues}} } \ No newline at end of file