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
In Validation options , we can pass, format checking , unique key validation method etc. to customize our SchmeaValidator.
It will be helpful if we can pass includeAdditionalProperty = false (true by default) , which will validate no addidtional property will be included in the object type.
This basically means, instiating the additionalPropertyValidator everytime , for every object type, if value is false.
Many opensource schema , is used in various companies, many dont put additionalProperties = false on every object type field.
Dev wants to work with these schema, but need a way to prevent adding additional non defined properties.
these schemas can also be very large.
This validationOption , help many to validate the constraint without altering the external schema.
The text was updated successfully, but these errors were encountered:
vivek656
changed the title
Adding includeAdditionalProperties = false(or true) in Valodation option
Adding includeAdditionalProperties = false(or true) in Validation option
Jul 3, 2023
In Validation options , we can pass, format checking , unique key validation method etc. to customize our SchmeaValidator.
includeAdditionalProperty
= false (true by default) , which will validate no addidtional property will be included in the object type.This basically means, instiating the
additionalPropertyValidator
everytime , for every object type, if value is false.Many opensource schema , is used in various companies, many dont put
additionalProperties = false
on every object type field.Dev wants to work with these schema, but need a way to prevent adding additional non defined properties.
these schemas can also be very large.
This validationOption , help many to validate the constraint without altering the external schema.
The text was updated successfully, but these errors were encountered: