mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Merge branch 'split/develop/multiFileSupport' of github.com:postmanlabs/openapi-to-postman into feature/add-reference-map-bundle
This commit is contained in:
@@ -644,15 +644,13 @@ class SchemaPack {
|
||||
path = pathBrowserify;
|
||||
OasResolverOptions.browser = true;
|
||||
}
|
||||
if ('content' in input.data[0]) {
|
||||
input.data.forEach((file) => {
|
||||
files[path.resolve(file.fileName)] = file.content ? file.content : '';
|
||||
});
|
||||
}
|
||||
input.data.forEach((file) => {
|
||||
files[path.resolve(file.fileName)] = file.content ? file.content : '';
|
||||
});
|
||||
adaptedInput = schemaUtils.mapDetectRootFilesInputToGetRootFilesInput(input);
|
||||
adaptedInput.origin = input.origin;
|
||||
rootFiles = parse.getRootFiles(adaptedInput, concreteUtils.inputValidation, this.computedOptions, files,
|
||||
input.specificationVersion);
|
||||
input.specificationVersion, false);
|
||||
res = schemaUtils.mapGetRootFilesOutputToDetectRootFilesOutput(rootFiles, input.specificationVersion);
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user