diff --git a/src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java b/src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java index 521cb76972..17bdb88333 100644 --- a/src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java +++ b/src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java @@ -2010,7 +2010,7 @@ public CodegenOperation fromOperation(String path, String httpMethod, Operation if ("application/x-www-form-urlencoded".equalsIgnoreCase(contentType) || "multipart/form-data".equalsIgnoreCase(contentType)) { final CodegenContent codegenContent = new CodegenContent(contentType); - //todo: uncomment line once changes on codegen repo has been merged codegenContent.getContentExtensions().put(CodegenConstants.IS_FORM_EXT_NAME, Boolean.TRUE); + codegenContent.getContentExtensions().put(CodegenConstants.IS_FORM_EXT_NAME, Boolean.TRUE); final Map propertyMap = schema.getProperties(); boolean isMultipart = contentType.equalsIgnoreCase("multipart/form-data");