But then, I get an error loading the checkSecurity.js:
Error running Spectral!
Error #1: Could not load https://github.com/italia/api-oas-checker-rules/releases/latest/download/functions/checkSecurity.js: Error fetching https://github.com/italia/api-oas-checker-rules/releases/latest/download/functions/checkSecurity.js: Not Found
The reason is, that checkSecurity.js is provided as a zip archive (functions.zip).
Can you please provide a public URL for the rulesets, with the functions side by side?
We use your rulesets to verify our API. In our
.spectral.yml
we inport the rulesets via URL:This fails with "Invalid ruleset provided", as the URLs are no more working (HTTP 404). So I fixed them to:
But then, I get an error loading the
checkSecurity.js
:The reason is, that
checkSecurity.js
is provided as a zip archive (functions.zip).Can you please provide a public URL for the rulesets, with the functions side by side?