We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e577f6 commit db913ccCopy full SHA for db913cc
2 files changed
spa/src/components/api-tester/useApiTester.ts
@@ -96,7 +96,7 @@ function buildInitialRequest(endpoint: Endpoint, baseUrl: string, spec: OpenApiS
96
if (contentType) {
97
headers.unshift(makePair('Content-Type', contentType, true));
98
}
99
- headers.push(makePair('Accept', contentType ?? detectResponseContentType(endpoint), true));
+ headers.push(makePair('Accept', detectResponseContentType(endpoint), true));
100
101
let body = '';
102
const bodyContent = endpoint.requestBody?.content;
0 commit comments