open-api icon indicating copy to clipboard operation
open-api copied to clipboard

Interface OpenAPIRequestValidatorArgs doesn't accept property 'version' (in package openapi-request-validator)

Open profiprog opened this issue 6 years ago • 0 comments

In README (packages/openapi-request-validator/README.md) is an example with version property:

  version: 'swagger-2.0', // default optional value for future versions of openapi

The example seems to be out of date. Property version is not expected also in code. It's quite confusing for me, I'm not sure if swagger v2 is supported or only openapi v3. Could you update the documentation?

profiprog avatar Feb 19 '19 13:02 profiprog