Skip to content

Conflict between Swagger 2.0 and OpenAPI 3.0.0 #221

@vinay0410

Description

@vinay0410

Hi,
I used flex recently to validate request and response of an API, and would like to mention that it's a great tool, and have features which lots of other tools out there don't have, and the documentation depicts them greatly 😃 .

But I ran into a problem, using this with swagger 2.0 . It says that type: file isn't supported. I looked more into it and realised that OpenAPI 3.0.0 doesn't support file and therefore changed it to string.

Also, it supports anyOf and oneOf, which came in OpenAPI 3.0.0 . So , I concluded that it supports OpenAPI 3.0.0 , although the README.md says something else.

Therefore I converted my swagger 2.0 documentation to openapi 3.0 using swagger-editor, but it failed for that too.

So, could any one please shed some light on the fact, that which version, and set of features, does this repository currently supports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions