mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 21:54:53 +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);
|
||||
}
|
||||
|
||||
if (typeof additionalProps === 'object') {
|
||||
if (typeof additionalProps === 'object' || typeof additionalProps === 'boolean') {
|
||||
fields.push(
|
||||
new FieldModel(
|
||||
parser,
|
||||
|
|
Loading…
Reference in New Issue
Block a user