Closed DawMatt closed 1 year ago
I've also retried the other instructions in the readme to use NPM to install the CLI and ruleset (now tested on Mac, earlier had tested on Windows). They are not working either.
Command: spectral lint CustomerBalances-OpenAPI.yaml
Output: Provided ruleset is not an object
@DawMatt leave it with me! Got a bit more housekeeping and testing to do and this will be ready to rock.
Sorry for the delay, just trying to get somebody with appropriate permissions to make sure v1.0.0 is building, as it was initially built as v0.0.0 by mistake. Once that's done automatic releases will kick in.
@mmarti21 when you get it done can you mark this closed?
v1.0.0 is out now so should be working.
Context
Unable to get this ruleset to work with the Visual Studio Code Spectral extension.
Current Behavior
Instructions from readme:
Results with VS Code Extension:
Error popup:
Output channel details:
Navigating to URL via browser or curl:
Expected Behavior
Visual Studio Code Spectral extension would validate the OpenAPI specification using the spectral ruleset.
Possible Workaround/Solution
None. I also tried using the CLI and rulesets via NPM, but hit different issues so couldn't get the ruleset to work.
Steps to Reproduce
Environment
Tried on both Windows 10, and macOS v12.6. Latest VS Code versions and spectral extension versions