diff --git a/src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts b/src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts index d76b9c21..5d23fae2 100644 --- a/src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts +++ b/src/app/adf-api-docs/df-api-docs/df-api-docs.component.ts @@ -46,8 +46,8 @@ export class DfApiDocsComponent implements OnInit, AfterContentInit { this.activatedRoute.data.subscribe(({ data }) => { if (data) { if ( - data.paths['/'].get.operationId && - data.paths['/'].get.operationId === 'getSoapResources' + data.paths['/']?.get.operationId && + data.paths['/']?.get.operationId === 'getSoapResources' ) { this.apiDocJson = { ...data, paths: mapSnakeToCamel(data.paths) }; } else {