shreemaan-abhishek commented on code in PR #14146:
URL: https://github.com/apache/apisix/pull/14146#discussion_r4465018336
##########
apisix/plugins/oas-validator.lua:
##########
@@ -150,13 +150,19 @@ local function get_spec_url_lrucache()
return spec_url_lrucache
end
+-- nil means the default, which verifies
+local function ssl_verify_enabled(conf)
+ return conf.ssl_verify ~= false
+end
Review Comment:
Right, dropped the helper and read `conf.ssl_verify` directly in both the
fetch and the cache key.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]