mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Add a reference map to bundle output
This commit is contained in:
@@ -4860,7 +4860,11 @@ module.exports = {
|
||||
else if (format.toLowerCase() === parse.YAML_FORMAT) {
|
||||
bundledFile = parse.toYAML(bundledFile);
|
||||
}
|
||||
return { rootFile: { path: contentAndComponents.fileName }, bundledContent: bundledFile };
|
||||
return {
|
||||
rootFile: { path: contentAndComponents.fileName },
|
||||
bundledContent: bundledFile,
|
||||
referenceMap: contentAndComponents.referenceMap
|
||||
};
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user