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
What problem do you want to solve?
I want to use the same schema for request and response by leveraging readOnlyand writeOnly properties.
What do you think is the correct solution to problem?
One possible solution would be to add new configuration option mode that would set Ajv mode to either DEFAULT (like it works now) or READ(in this mode all readOnly items should be taken into account) or WRITE(should validate writeOnly stuff)
Will you be able to implement it?
Probably
The text was updated successfully, but these errors were encountered:
What version of Ajv you are you using?
6.6.2
What problem do you want to solve?
I want to use the same schema for request and response by leveraging
readOnly
andwriteOnly
properties.What do you think is the correct solution to problem?
One possible solution would be to add new configuration option
mode
that would setAjv
mode to eitherDEFAULT
(like it works now) orREAD
(in this mode allreadOnly
items should be taken into account) orWRITE
(should validatewriteOnly
stuff)Will you be able to implement it?
Probably
The text was updated successfully, but these errors were encountered: