We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d35a14 commit e914a4eCopy full SHA for e914a4e
src/openApi/v3/parser/getOperationResults.ts
@@ -18,6 +18,10 @@ export const getOperationResults = (operationResponses: OperationResponse[]): Op
18
if (code && code !== 204 && code >= 200 && code < 300) {
19
operationResults.push(operationResponse);
20
}
21
+ // If response code is 204 and we are expecting something in header lets add
22
+ else if(code === 204 && operationResponse.in === "header"){
23
+ operationResults.push(operationResponse);
24
+ }
25
});
26
27
if (!operationResults.length) {
0 commit comments