Skip to content

[BUG][Swift5] support of type Array in oneOf #9785

@c-villain

Description

@c-villain

Tried on master (currently 5.2.0), confirmed that array in "one of" not supported..
Add code-generation support for array type in OneOf..
e.g.

Expected in generated code:

....
case typeArray([MyArray])`
....

for *.YAML - file:

....
oneOf:
     -
        type: array
        items:
            $ref: 'MyArray'
....

Currently code not generated with this spec

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions