nic-6443 commented on code in PR #14146:
URL: https://github.com/apache/apisix/pull/14146#discussion_r4463292849


##########
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:
   We have already defined the default value in the schema, so this check is 
redundant.



-- 
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]

Reply via email to