swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

`--disableStrictSSL` flag in `npx` command line is not working

Open norritt opened this issue 1 year ago • 0 comments

After specifying --disableStrictSSL flag I continued to get ssl exception. After looking in debug, I discovered 2 options were set in config object: disableStrictSSL: false and disableStrictSsl: true. First one comes from config, second -- from command line.

version 13.0.3

Screenshots are below

swagger-schema-resolver.js:25 image

index.js:304 image

suggested fix would be to change formatter in cli library used to parse parameters current workaround is to create permanent config file with disableStrictSSL setting

norritt avatar Dec 12 '23 08:12 norritt