mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
added array support
This commit is contained in:
parent
dc9a00809c
commit
e82ecf695d
@ -745,6 +745,8 @@ public class DefaultCodegen {
|
|||||||
op.isMapContainer = Boolean.TRUE;
|
op.isMapContainer = Boolean.TRUE;
|
||||||
else if ("list".equalsIgnoreCase(cm.containerType))
|
else if ("list".equalsIgnoreCase(cm.containerType))
|
||||||
op.isListContainer = Boolean.TRUE;
|
op.isListContainer = Boolean.TRUE;
|
||||||
|
else if ("array".equalsIgnoreCase(cm.containerType))
|
||||||
|
op.isListContainer = Boolean.TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
op.returnSimpleType = true;
|
op.returnSimpleType = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user