mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-14 18:22:31 +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() {
|
init() {
|
||||||
this.bindEvents();
|
this.bindEvents();
|
||||||
|
|
||||||
let base:any = {};
|
let base:any = this.componentSchema;
|
||||||
let sample;
|
let sample;
|
||||||
|
|
||||||
// got pointer not directly to the schema but e.g. to the response obj
|
// got pointer not directly to the schema but e.g. to the response obj
|
||||||
|
|
Loading…
Reference in New Issue
Block a user