From 87d5484f2e3ee17ad40ce84e748c6273ca98d97e Mon Sep 17 00:00:00 2001 From: Hemant Zope <42613258+zhemant@users.noreply.github.com> Date: Wed, 9 Jan 2019 04:22:51 +0100 Subject: [PATCH] add isModel to updatebooleanflagwithcodegenproperty (#1844) --- .../src/main/java/org/openapitools/codegen/DefaultCodegen.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index 875bcf8f1d9f..71cf4d8c1cc5 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -4035,6 +4035,9 @@ public void setParameterBooleanFlagWithCodegenProperty(CodegenParameter paramete if (Boolean.TRUE.equals(property.isFile)) { parameter.isFile = true; } + if (Boolean.TRUE.equals(property.isModel)) { + parameter.isModel = true; + } }