feat(json-schema-2020-12): add support for enum keyword (#8623)
Refs #8513
This commit is contained in:
@@ -160,6 +160,7 @@ export const isExpandable = (schema) => {
|
||||
fn.hasKeyword(schema, "unevaluatedItems") ||
|
||||
fn.hasKeyword(schema, "unevaluatedProperties") ||
|
||||
schema?.description ||
|
||||
schema?.enum ||
|
||||
fn.hasKeyword(schema, "const")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user