File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
modules/swagger-codegen/src/main/java/io/swagger/codegen/v3 Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
public class CodegenContent implements VendorExtendable {
9
9
10
+ private String contentType ;
11
+
12
+ public CodegenContent () {
13
+ }
14
+
15
+ public CodegenContent (String contentType ) {
16
+ this .contentType = contentType ;
17
+ }
18
+
10
19
private List <CodegenParameter > parameters = new ArrayList <CodegenParameter >();
11
20
private Map <String , Object > vendorExtensions = new HashMap <>();
12
21
@@ -21,6 +30,14 @@ public List<CodegenParameter> getParameters() {
21
30
return parameters ;
22
31
}
23
32
33
+ public String getContentType () {
34
+ return contentType ;
35
+ }
36
+
37
+ public void setContentType (String contentType ) {
38
+ this .contentType = contentType ;
39
+ }
40
+
24
41
@ Override
25
42
public Map <String , Object > getVendorExtensions () {
26
43
return vendorExtensions ;
You can’t perform that action at this time.
0 commit comments