mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
ignore invalid nodes
ignore invalid nodes
This commit is contained in:
@@ -4848,7 +4848,9 @@ module.exports = {
|
||||
mapBundleOutput(format, parsedRootFiles) {
|
||||
return (contentAndComponents) => {
|
||||
let bundledFile = contentAndComponents.fileContent;
|
||||
bundledFile.components = contentAndComponents.components;
|
||||
if (!_.isEmpty(contentAndComponents.components)) {
|
||||
bundledFile.components = contentAndComponents.components;
|
||||
}
|
||||
if (!format) {
|
||||
let rootFormat = parsedRootFiles.find((inputRoot) => {
|
||||
return inputRoot.fileName === contentAndComponents.fileName;
|
||||
|
||||
Reference in New Issue
Block a user