I’d like to contribute to spectral. The CONTRIBUTING file shows me how to install the dependencies and run the tests, but not how to run the tool. How can I run spectral from local source to try things out on my development platform? I’m am experienced programmer but not exactly nodejs-native and I’m lost.
You are totally right. The contributing doc does gloss over that part, and I will work on fixing that.
To build it for the CLI option (which I am assuming is what a lot of people really want):
yarn yarn build cd dist bin/run lint my-openapi-file.json
I’m running through the steps for it programmatically right now to make sure I don’t lead you down the wrong path for that one.
Thanks, and you saw my patch on the docs. Just noting that something interesting happened with your “Sign in with GitHub” link and now I have @github1 as a username … Do youi want me to report this somewhere?