mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 11:26:37 +03:00
fix: discriminator and oneOf title fix
This commit is contained in:
parent
301ca225ff
commit
a3d7d7a32c
|
@ -223,7 +223,7 @@ export class SchemaModel {
|
|||
if (variant.$ref === undefined) {
|
||||
continue;
|
||||
}
|
||||
const name = JsonPointer.dirName(variant.$ref);
|
||||
const name = JsonPointer.baseName(variant.$ref);
|
||||
derived[variant.$ref] = name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user