forked from loafle/openapi-generator-original
Merge pull request #1509 from xhh/ruby-collection-format
[Ruby] Support collectionFormat for header, query and form parameters
This commit is contained in:
@@ -1447,6 +1447,9 @@ public class DefaultCodegen {
|
||||
}
|
||||
property = new ArrayProperty(inner);
|
||||
collectionFormat = qp.getCollectionFormat();
|
||||
if (collectionFormat == null) {
|
||||
collectionFormat = "csv";
|
||||
}
|
||||
CodegenProperty pr = fromProperty("inner", inner);
|
||||
p.baseType = pr.datatype;
|
||||
p.isContainer = true;
|
||||
|
||||
Reference in New Issue
Block a user