acacode / acacode/swagger-typescript-api

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

未關閉
#669 1 則留言 6 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
4.1k
分支
436
PR 合併指標
30 天內沒有已合併 PR

描述

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](https://github.com/acacode/swagger-typescript-api/assets/1547639/9fb75319-bf3a-459b-8f4f-c343dfbcce2a)

`index.js:304`
![image](https://github.com/acacode/swagger-typescript-api/assets/1547639/93362806-658e-41e9-b844-be76ea89b786)

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。