updated client

This commit is contained in:
Tony Tam
2014-10-10 21:39:45 -07:00
parent 97623af8df
commit 4d214dbcef
2 changed files with 1 additions and 2 deletions

View File

@@ -644,7 +644,7 @@ public class DefaultCodegen {
Property inner = qp.getItems();
property = new ArrayProperty(inner);
collectionFormat = qp.getCollectionFormat();
CodegenProperty pr = fromProperty("aaa", inner);
CodegenProperty pr = fromProperty("inner", inner);
p.baseType = pr.datatype;
}
else

View File

@@ -115,7 +115,6 @@ public class ScalatraServerCodegen extends DefaultCodegen implements CodegenConf
for(CodegenOperation op: operationList) {
op.httpMethod = op.httpMethod.toLowerCase();
}
Json.prettyPrint(objs);
return objs;
}