`--disableStrictSSL` flag in `npx` command line is not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cli, nodejs, typescript
Research direction
The issue is in the CLI parameter parsing where --disableStrictSSL from the command line is incorrectly formatted as disableStrictSsl (lowercase 'l'), while the config expects disableStrictSSL. Look at the CLI library used (likely in the cli module) to adjust the formatter. Check the screenshots pointing to swagger-schema-resolver.js:25 and index.js:304 to understand the config merging. Verify the fix by running the npx command with the flag and ensuring no SSL exception occurs.
Written by the indexing model from the issue text.
Description
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
index.js:304
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
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 436
- Avg merge
- 9d 7h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from acacode/swagger-typescript-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
acacode/swagger-typescript-api#1821 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
acacode/swagger-typescript-api#1638 · 3 comments · 10 reactions ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
acacode/swagger-typescript-api#1237 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
acacode/swagger-typescript-api#1146 · 3 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
acacode/swagger-typescript-api#988 · 1 comment · 1 reaction ·
All issues in acacode/swagger-typescript-api
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100