From 75f8f73d66009f199a34670e0bc8f25ad9eafe4e Mon Sep 17 00:00:00 2001 From: OmarAlJarrah Date: Wed, 30 Oct 2024 09:40:15 +0300 Subject: [PATCH] chore: add missing json property annotation on enum values for deserializ --- .../templates/expediagroup-sdk/operation_params.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/customizations/generator/openapi/src/main/resources/templates/expediagroup-sdk/operation_params.mustache b/customizations/generator/openapi/src/main/resources/templates/expediagroup-sdk/operation_params.mustache index 40eb72db98..c841707eca 100644 --- a/customizations/generator/openapi/src/main/resources/templates/expediagroup-sdk/operation_params.mustache +++ b/customizations/generator/openapi/src/main/resources/templates/expediagroup-sdk/operation_params.mustache @@ -82,6 +82,7 @@ ) { {{#allowableValues}} {{#enumVars}} + @JsonProperty({{{value}}}) {{name}}({{{value}}}) {{^-last}},{{/-last}} {{/enumVars}}