Can we disable SSL verification when fetching the target document for generation? #3085
Answered
by
jrunestone
jrunestone
asked this question in
Q&A
-
|
I'm on localhost, in a dev container, running my local API on https with a self-signed certificate. When I run orval it can't reach the target URL, so I have to resort to |
Beta Was this translation helpful? Give feedback.
Answered by
jrunestone
Mar 10, 2026
Replies: 1 comment 6 replies
-
|
I opened this ticket: APIDevTools/json-schema-ref-parser#416 for refs. Need to look if this can be done in our repo. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@snebjorn I'm using
"orval": "^8.5.3"andnode -v = v24.14.0andpnpm -v = 10.30.3(npm -v = 11.9.0) and yeah sorry I've tried that script snippet - is that supposed to work? Orval doesn't seem to take that env into account even if I invoke it manually and not via an npm script.UPDATE: Hmm I apologize, I was using a *.dev.localhost hostname which isn't working (even with the env and trusted cert) - switching to just localhost works together with NODE_TLS_REJECT_UNAUTHORIZED=0 both directly/cli and via npm scripts :)