Closed DanStory closed 2 years ago
Hey Dan.
Sorry for the slow response.
I think I know how to fix this. Give me a few days.
I've published a fix to npm as version 1.17.1
. Thanks for reporting the issue. Let me know if there are any other problems.
We have an OpenAPI spec with definitions that describe some limited JSONSchema, as the API endpoint returns JSONSchema itself.
Updating openapi-enforcer from
1.13.0
to1.17.0
has a bug/error when the OpenAPI spec is parsedBasically the definition has a
$ref
under properties to describe an actual object property and seems to trip up thinking it is a JSONSchema reference when it isn't. example: