Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@

public class CodegenContent implements VendorExtendable {

private String contentType;

public CodegenContent() {
}

public CodegenContent(String contentType) {
this.contentType = contentType;
}

private List<CodegenParameter> parameters = new ArrayList<CodegenParameter>();
private Map<String, Object> vendorExtensions = new HashMap<>();

Expand All @@ -21,6 +30,14 @@ public List<CodegenParameter> getParameters() {
return parameters;
}

public String getContentType() {
return contentType;
}

public void setContentType(String contentType) {
this.contentType = contentType;
}

@Override
public Map<String, Object> getVendorExtensions() {
return vendorExtensions;
Expand Down