mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 04:32:44 +00:00
added array support
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user