Skip to content
Snippets Groups Projects
Commit d629cc08 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'swagger' into 'main'

add response type

See merge request !566
parents a6b74ed4 8275f179
No related branches found
No related tags found
1 merge request!566add response type
Pipeline #575166 passed with warnings
...@@ -52,7 +52,9 @@ export class AppComponent implements OnInit { ...@@ -52,7 +52,9 @@ export class AppComponent implements OnInit {
// Check swagger endpoint first // Check swagger endpoint first
this.httpClient this.httpClient
.get(url) .get(url, {
responseType: 'text',
})
.pipe( .pipe(
catchError((error: Error) => { catchError((error: Error) => {
this.spinnerRef.close(); this.spinnerRef.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment