diff --git a/projects/nshmp-ws/src/app/swagger/app.component.ts b/projects/nshmp-ws/src/app/swagger/app.component.ts index 58009820d80758807989d6bcf1341095a1e9f6dd..5afbe86fe5a3b659a12c50d3683f2a600dd8d4e5 100644 --- a/projects/nshmp-ws/src/app/swagger/app.component.ts +++ b/projects/nshmp-ws/src/app/swagger/app.component.ts @@ -52,7 +52,9 @@ export class AppComponent implements OnInit { // Check swagger endpoint first this.httpClient - .get(url) + .get(url, { + responseType: 'text', + }) .pipe( catchError((error: Error) => { this.spinnerRef.close();