Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
c-villain opened this issue Jun 16, 2021 · 3 comments
Open

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

c-villain opened this issue Jun 16, 2021 · 3 comments

Comments

@c-villain
Copy link

c-villain commented Jun 16, 2021

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

@c-villain c-villain changed the title [BUG] [Swift5] support of type Array in oneOf [BUG][Swift5] support of type Array in oneOf Sep 20, 2021
@4brunu
Copy link
Contributor

4brunu commented Nov 14, 2021

@c-villain do you want to try to create a PR to fix this?

@c-villain
Copy link
Author

@4brunu ok, I'll try =)

@mrakko
Copy link

mrakko commented Mar 30, 2022

@c-villain, @4brunu is there any update in connection with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants