File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ program
60
60
"determines which path index should be used for routes separation (example: GET:/fruites/getFruit -> index:0 -> moduleName -> fruites)" ,
61
61
0 ,
62
62
)
63
- . option ( "--disableStrictSSL <boolean> " , "disabled strict SSL" , false ) ;
63
+ . option ( "--disableStrictSSL" , "disabled strict SSL" , false ) ;
64
64
65
65
program . parse ( process . argv ) ;
66
66
@@ -98,5 +98,5 @@ generateApi({
98
98
toJS : ! ! js ,
99
99
enumNamesAsValues : enumNamesAsValues ,
100
100
moduleNameIndex : + ( moduleNameIndex || 0 ) ,
101
- disableStrictSSL : disableStrictSSL ,
101
+ disableStrictSSL : ! ! disableStrictSSL ,
102
102
} ) ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ module.exports = {
58
58
enumNamesAsValues,
59
59
disableStrictSSL,
60
60
} ) ;
61
- ( spec ? convertSwaggerObject ( spec ) : getSwaggerObject ( input , url , disableStrictSSL == "true" ) )
61
+ ( spec ? convertSwaggerObject ( spec ) : getSwaggerObject ( input , url , disableStrictSSL ) )
62
62
. then ( ( { usageSchema, originalSchema } ) => {
63
63
const templatesToRender = getTemplates ( config ) ;
64
64
You can’t perform that action at this time.
0 commit comments