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
Since we mix validations & annotations, they undergo pretty much the same process.
While avoiding true or false makes perfect sense in the case of validation keywords, it ruins the experience in the case of annotations.
To Reproduce
Given a schema containing some annotation with booleanish value
Describe the bug
Since we mix validations & annotations, they undergo pretty much the same process.
While avoiding
true
orfalse
makes perfect sense in the case of validation keywords, it ruins the experience in the case of annotations.To Reproduce
Expected behavior
The values are displayed
Additional context
This is caused by https://github.com/stoplightio/json-schema-viewer/blob/master/src/components/shared/Validations.tsx#L112
We should filter out annotations
The correct code could look so
Screenshots
The text was updated successfully, but these errors were encountered: