mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 11:26:37 +03:00
parent
fb212128f9
commit
720e28284c
|
@ -256,7 +256,9 @@ export class OpenAPIParser {
|
|||
if (subSchemaRef) {
|
||||
receiver.parentRefs!.push(subSchemaRef);
|
||||
if (receiver.title === undefined && isNamedDefinition(subSchemaRef)) {
|
||||
receiver.title = JsonPointer.baseName(subSchemaRef);
|
||||
// this is not so correct behaviour. comented out for now
|
||||
// ref: https://github.com/Rebilly/ReDoc/issues/601
|
||||
// receiver.title = JsonPointer.baseName(subSchemaRef);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user