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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to run
spectral lint
using a custom resolver that allows to resolve http with basic auth. So I am following the instructions on https://github.com/stoplightio/spectral/blob/develop/docs/guides/2-cli.md#custom-ref-resolving.But running
spectral lint /data/spec/index.yaml --resolver resolver.js --ruleset spectral.yaml -v
results in an error:How could one make this work? Or is this a known bug?
Note: I am trying to make this work using docker
stoplight/spectral:6.6.0
.Whole command I run locally is:
Thank you very much for your help 🙏 .
Beta Was this translation helpful? Give feedback.
All reactions