You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And finally please see that i need 'yesNo' definition starting from v1. However it seems it needs to be defined in also v0. I got MissingRefErrors if i dont include it to v0. What is the correct way to extend definitions and required?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to build a mechanism to versioning default values for my app over ajv backed separated JSON files.
TL; DR:
I couldnt generate default values from a merged schema. Please elaborate on what i'm missing or doing wrong.
Details:
You can find the sandbox here
My concerns are:
A simple example goes like this:
/schemas/v0/App.json:
/schemas/v1/App.json:
/schemas/commonDefinitions.json:
I couldn't make ajv to produce correct data with defaults on v1/App.json:
However it's ok for v0/App.json:
Additional problems:
MissingRefError
s if i dont include it to v0. What is the correct way to extenddefinitions
andrequired
?The text was updated successfully, but these errors were encountered: