Skip to content

Commit d8d9367

Browse files
committed
AB-289-added-method-path
1 parent abaf386 commit d8d9367

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libV2/schemaUtils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,8 +2628,10 @@ module.exports = {
26282628
resolvedExampleTypes
26292629
} = resolveResponseForPostmanRequest(context, operationItem[method], request);
26302630

2631+
methodPath = method + path;
26312632
requestBlock = { request: unifiedRequestTypes, response: resolvedExampleTypes };
2632-
extractedTypesList.push(requestBlock);
2633+
requestObj = { [methodPath]: requestBlock };
2634+
extractedTypesList.push(requestObj);
26332635

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

0 commit comments

Comments
 (0)