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) {
4343 additionalServiceFileExtension : true ,
4444 removeLodashPrefixes : true ,
4545 ...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 || [ ] ,
5454 } )
5555 . then ( ( ) => {
5656 process . exit ( 0 ) ;
You can’t perform that action at this time.
0 commit comments