We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b437a72 commit 6a0b1b7Copy full SHA for 6a0b1b7
src/components/shared/Validations.tsx
@@ -180,6 +180,7 @@ export function getValidationsFromSchema(schemaNode: RegularNode) {
180
...(schemaNode.annotations.examples ? { examples: schemaNode.annotations.examples } : null),
181
}
182
: null),
183
+ // TODO: replace `fragment` once JST supports `const` and `x-example`
184
...('fragment' in schemaNode
185
? {
186
...('const' in schemaNode.fragment ? { const: schemaNode.fragment.const } : null),
0 commit comments