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
6060 "determines which path index should be used for routes separation (example: GET:/fruites/getFruit -> index:0 -> moduleName -> fruites)" ,
6161 0 ,
6262 )
63- . option ( "--disableStrictSSL <boolean> " , "disabled strict SSL" , false ) ;
63+ . option ( "--disableStrictSSL" , "disabled strict SSL" , false ) ;
6464
6565program . parse ( process . argv ) ;
6666
@@ -98,5 +98,5 @@ generateApi({
9898 toJS : ! ! js ,
9999 enumNamesAsValues : enumNamesAsValues ,
100100 moduleNameIndex : + ( moduleNameIndex || 0 ) ,
101- disableStrictSSL : disableStrictSSL ,
101+ disableStrictSSL : ! ! disableStrictSSL ,
102102} ) ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ module.exports = {
5858 enumNamesAsValues,
5959 disableStrictSSL,
6060 } ) ;
61- ( spec ? convertSwaggerObject ( spec ) : getSwaggerObject ( input , url , disableStrictSSL == "true" ) )
61+ ( spec ? convertSwaggerObject ( spec ) : getSwaggerObject ( input , url , disableStrictSSL ) )
6262 . then ( ( { usageSchema, originalSchema } ) => {
6363 const templatesToRender = getTemplates ( config ) ;
6464
You can’t perform that action at this time.
0 commit comments