acacode / acacode/swagger-typescript-api

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

Abierto
#669 1 comentario 6 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
4.1k
Forks
436
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.