Skip to content

Commit

Permalink
AB-289-added-method-path
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushShri committed Dec 10, 2024
1 parent abaf386 commit d8d9367
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libV2/schemaUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2628,8 +2628,10 @@ module.exports = {
resolvedExampleTypes
} = resolveResponseForPostmanRequest(context, operationItem[method], request);

methodPath = method + path;
requestBlock = { request: unifiedRequestTypes, response: resolvedExampleTypes };
extractedTypesList.push(requestBlock);
requestObj = { [methodPath]: requestBlock };
extractedTypesList.push(requestObj);

// add accept header if found and not present already
if (!_.isEmpty(acceptHeader)) {
Expand Down

0 comments on commit d8d9367

Please sign in to comment.