mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
Fixed a bug that prevented additionalProperties holding a boolean to be rendered.
This commit is contained in:
parent
568ce74077
commit
1f20b95a36
|
@ -244,7 +244,7 @@ function buildFields(
|
||||||
sortByRequired(fields, schema.required);
|
sortByRequired(fields, schema.required);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof additionalProps === 'object') {
|
if (typeof additionalProps === 'object' || typeof additionalProps === 'boolean') {
|
||||||
fields.push(
|
fields.push(
|
||||||
new FieldModel(
|
new FieldModel(
|
||||||
parser,
|
parser,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user