CiscoDevNet / api-insights-openapi-rulesets

Analyzers for OAS document linting as rulesets
Apache License 2.0
21 stars 9 forks source link

Can we get the evaluated ruleset as .json? #11

Open mdurban opened 1 year ago

mdurban commented 1 year ago

Is it possible to export the .json rulesets in this repo? That would make it much easier to use from non-node applications who want to access the evaluated ruleset.

npateriya commented 1 year ago

Spectral linter newer version seems to start preferring JS rulesets over.json or .yaml, started referring .json/.yaml as legacy format

But .json & .yaml rulesets are still not yet deprecated, so we will evaluate adding .json/.yaml format support too.