mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-13 15:54:25 +00:00
Support collectionFormat in Ruby client
for header, query and form parameters
This commit is contained in:
@@ -1446,6 +1446,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