You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"$.servers[].url"
severity: error
then:
function: pattern
functionOptions:
match: "(http:\/\/localhost)|(https)."
message: Servers must use the HTTPS protocol except when using localhost
formats:
oas3
The text was updated successfully, but these errors were encountered:
Description
API Analysis supports spectral as our linting engine.
The following example style guides don't work as we don't support downloading stoplight packages.
How can I get the following example rulesets to work:
extends:
rules:
oas3-always-use-https:
given:
severity: error
then:
function: pattern
functionOptions:
match: "(http:\/\/localhost)|(https)."
message: Servers must use the HTTPS protocol except when using localhost
formats:
The text was updated successfully, but these errors were encountered: