-
Notifications
You must be signed in to change notification settings - Fork 216
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
Define property with list of references #386
Comments
@aleksandr-kotlyar are these dictionaries? If so, it'd be possible to use data = Schema({})
data = data.extend({ Required('a'): 3 }) # project
data = data.extend({ Required('b'): 4 }) # with provider
data = data.extend({ Required('c'): 5 }) # with gallery The |
@svisser thank you for your answer!
No, they are Schemas with more properties inside them.
and this:
but both have failed with the same error
And i expected that this would work. I understood your suggestion, but i think it will not work with more complex Schemas. Thank you! |
Hi! I am interested in, is it possible to define schemas in voluptuous like in openapi 3.0.0
Here is an example of openapi:
I talk about something like:
may be not like this, maybe like that:
or maybe like this:
I think that this feature with list of references inside of property could be very helpful for the whole community to define more schemas!
Thank you!
Best regards, Aleksandr
The text was updated successfully, but these errors were encountered: