Skip to content

Commit 116653f

Browse files
committed
Merge remote-tracking branch 'origin/master' into issue-321
2 parents 9844726 + 1c6644a commit 116653f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
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-
codegenContent.getVendorExtensions().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");

src/main/resources/handlebars/Java/libraries/retrofit2/api_test.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class {{classname}}Test {
2828
{{#operations}}
2929
{{#operation}}
3030
{{#contents}}
31-
{{#@ƒirst}}
31+
{{#@first}}
3232

3333
/**
3434
* {{summary}}
@@ -44,7 +44,7 @@ public class {{classname}}Test {
4444

4545
// TODO: test validations
4646
}
47-
{{/@ƒirst}}
47+
{{/@first}}
4848
{{/contents}}
4949
{{/operation}}
5050
{{/operations}}

src/main/resources/handlebars/JavaJaxRS/cxf/apiServiceImpl.mustache

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import org.apache.cxf.jaxrs.model.wadl.DocTarget;
1515

1616
import org.apache.cxf.jaxrs.ext.multipart.*;
1717

18-
import io.swagger.annotations.Api;
1918
{{#useSpringAnnotationConfig}}
2019
import org.springframework.stereotype.Service;
2120
{{/useSpringAnnotationConfig}}

0 commit comments

Comments
 (0)