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

support allOf and anyOf in schema definitions #130

Open
satra opened this issue Feb 7, 2024 · 0 comments
Open

support allOf and anyOf in schema definitions #130

satra opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@satra
Copy link

satra commented Feb 7, 2024

when an object in a json schema has anyOf, the current function JsonSchemaImportEngine().translate_schema does not seem to traverse the types in anyOf and generates the following error.

ERROR:root:Cannot translate type None in {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'title': 'Model'}

@satra satra added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant