mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 18:14:07 +03:00
Merge pull request #107 from MikeRalphson/patch-1
Typo s/IGNORRED/IGNORED
This commit is contained in:
commit
38944193dd
|
@ -208,7 +208,7 @@ class SchemaDereferencer {
|
||||||
let keysCount = Object.keys(schema).length;
|
let keysCount = Object.keys(schema).length;
|
||||||
if ( keysCount > 2 || (keysCount === 2 && !schema.description) ) {
|
if ( keysCount > 2 || (keysCount === 2 && !schema.description) ) {
|
||||||
WarningsService.warn(`Other properties are defined at the same level as $ref at "#${pointer}". ` +
|
WarningsService.warn(`Other properties are defined at the same level as $ref at "#${pointer}". ` +
|
||||||
'They are IGNORRED according to the JsonSchema spec');
|
'They are IGNORED according to the JsonSchema spec');
|
||||||
resolved.description = resolved.description || schema.description;
|
resolved.description = resolved.description || schema.description;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user