mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
fix: sample unavailable when no schema in response object
This commit is contained in:
parent
bb00dc3426
commit
1eedbfeb98
|
@ -33,7 +33,7 @@ export class SchemaSample extends BaseComponent implements OnInit {
|
|||
init() {
|
||||
this.bindEvents();
|
||||
|
||||
let base:any = {};
|
||||
let base:any = this.componentSchema;
|
||||
let sample;
|
||||
|
||||
// got pointer not directly to the schema but e.g. to the response obj
|
||||
|
|
Loading…
Reference in New Issue
Block a user