vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
I believe this is the second bad example from here, so it should be an error. Running vacuum v0.8.4 with the recommended ruleset on this file results in no errors. However, running spectral v6.6.0 with spectral:oas does pick this up.
I believe ensureAllExpectedParamsInPathAreDefined needs a bit of work to correctly pick this up. I'm happy to do a PR for this.
Hey! In this sample, the path has two params, but the
parameters
property only defines one:I believe this is the second bad example from here, so it should be an error. Running vacuum v0.8.4 with the recommended ruleset on this file results in no errors. However, running spectral v6.6.0 with
spectral:oas
does pick this up.I believe
ensureAllExpectedParamsInPathAreDefined
needs a bit of work to correctly pick this up. I'm happy to do a PR for this.