Azure / openapi-diff

Command line tool to detect breaking changes between two openapi specifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support OpenAPI3

BlitzkriegSoftware opened this issue · comments

ASP.NET 3.1 LTS and higher produce OpenAPI3 as in this snippet:

{
  "openapi": "3.0.1",
  ...
}

Produces this error

FATAL: Error: File 'file:///....json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')

It would be good to support OpenAPI3. See spec: https://swagger.io/specification/

Similar issue #148