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

Add support for tuple items #23

Open
hamzaed opened this issue Feb 18, 2020 · 0 comments
Open

Add support for tuple items #23

hamzaed opened this issue Feb 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hamzaed
Copy link
Collaborator

hamzaed commented Feb 18, 2020

The current implementation of the metamodel uses items to set the type of the items of an array in a Schema definition.

However, even though it's not common in OpenAPI definitions, JSON schema allows the definition of tuples by setting the value of items to an array where each item is a Schema which corresponds to the type of each index.

The importation fails when `items``contains an array (tuple definition) instead of an object (array definition).

@hamzaed hamzaed added the bug Something isn't working label Feb 18, 2020
@hamzaed hamzaed self-assigned this Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant