Skip to content

Commit 1c6644a

Browse files
authored
Merge pull request #323 from swagger-api/codegen_content_ext
uncomment codegen content extension call statement
2 parents 7a1e140 + 2eaba9a commit 1c6644a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/swagger/codegen/v3/generators/DefaultCodegenConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ public CodegenOperation fromOperation(String path, String httpMethod, Operation
20102010

20112011
if ("application/x-www-form-urlencoded".equalsIgnoreCase(contentType) || "multipart/form-data".equalsIgnoreCase(contentType)) {
20122012
final CodegenContent codegenContent = new CodegenContent(contentType);
2013-
//todo: uncomment line once changes on codegen repo has been merged codegenContent.getContentExtensions().put(CodegenConstants.IS_FORM_EXT_NAME, Boolean.TRUE);
2013+
codegenContent.getContentExtensions().put(CodegenConstants.IS_FORM_EXT_NAME, Boolean.TRUE);
20142014

20152015
final Map<String, Schema> propertyMap = schema.getProperties();
20162016
boolean isMultipart = contentType.equalsIgnoreCase("multipart/form-data");

0 commit comments

Comments
 (0)