mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
adding multifile swagger examples, adding tests to validate merging, merge and validate support for swagger 20
This commit is contained in:
@@ -62,7 +62,9 @@ class SchemaPack {
|
||||
validate() {
|
||||
let input = this.input,
|
||||
json,
|
||||
specParseResult;
|
||||
specParseResult,
|
||||
isFolder = this.input.type === 'folder';
|
||||
this.computedOptions = Object.assign({ isFolder }, this.computedOptions);
|
||||
if (!input) {
|
||||
return {
|
||||
result: false,
|
||||
|
||||
Reference in New Issue
Block a user