headers list is CodegenResponse is always defined (no null list)

This commit is contained in:
Camille Chafer
2015-03-18 19:01:45 +01:00
parent ac78c15fbf
commit 081757c592

View File

@@ -6,7 +6,7 @@ public class CodegenResponse {
public String code, message;
public Boolean hasMore;
public List<Map<String, String>> examples;
public List<CodegenProperty> headers;
public final List<CodegenProperty> headers = new ArrayList<CodegenProperty>();
public String dataType, baseType, containerType;
public Boolean simpleType;
public Boolean primitiveType;