From 9b530ed8c120263b039aa75e333ab6a7285e8f7d Mon Sep 17 00:00:00 2001 From: Jeremie Bresson Date: Thu, 24 May 2018 06:31:15 +0200 Subject: [PATCH] resteasy: fix outer enum case --- .../main/resources/JavaJaxRS/resteasy/enumOuterClass.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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