CiscoDevNet / api-insights-openapi-rulesets

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

multi-versions-server-url-missing-version incorrectly detected for OAS v2 #31

Open ObjectIsAdvantag opened 4 days ago

ObjectIsAdvantag commented 4 days ago

Identified with the example of the CyberVision API (see attached) cybervision-download.json

The basepath is declared with a version: "3.0" BUT an error is raise byt the contract analyzer, see https://wwwin-github.cisco.com/stsfartz/oas_docs/blob/master/openapi_docs/cybervision/README.md#contract-completeness

ObjectIsAdvantag commented 4 days ago

note that this may be due to a corner case of Cyber Vision where the version is 3.0 instead of v3