Open revnode opened 1 year ago
It looks like the culprit might be https://www.npmjs.com/package/openapi-schema-validator which is used internally? It doesn't look like openapi-schema-validator
supports 3.1
Seems there is a ticket for it: https://github.com/kogosoftwarellc/open-api/issues/837
For those running into the same issue, a quick hack is to set quick
to true
as an option to OpenAPIBackend to suppress the errors.
The docs say that 3.1 is supported... So it's not really the case?
https://github.com/openapistack/openapi-backend/pull/212 https://github.com/openapistack/openapi-backend/issues/158 says otherwise. Not sure why this issue is not closed?
It looks like OpenAPI 3.1 support was added a few years back? I'm having trouble with it.
When executing:
I get errors like:
If I set the type to a string, the error goes away. But it should support an array? Any help appreciated. Thanks!