File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ if (OpenAPI) {
43
43
additionalServiceFileExtension : true ,
44
44
removeLodashPrefixes : true ,
45
45
...config ,
46
- input : params . input ,
47
- output : params . output ,
48
- username : params . login ,
49
- password : params . password ,
50
- useEnvironment : params . environment ,
51
- useService : params . service ,
52
- filterMethod : params . filterMethod ,
53
- filterArray : params . filterArray ,
46
+ input : params . input || config . input ,
47
+ output : params . output || config . output ,
48
+ username : params . login || config . login ,
49
+ password : params . password || config . password ,
50
+ useEnvironment : params . environment || config . environment ,
51
+ useService : params . service || config . service ,
52
+ filterMethod : params . filterMethod || config . filterMethod || 'include' ,
53
+ filterArray : params . filterArray || config . filterArray || [ ] ,
54
54
} )
55
55
. then ( ( ) => {
56
56
process . exit ( 0 ) ;
You can’t perform that action at this time.
0 commit comments