Closed eserte closed 5 years ago
I'm not sure why M::P::Yancy use JSON::Validator::OpenAPI. There shouldn't be any reason to depend on that directly.
Confirmed. This makes Yancy work correctly again:
cpanm JSON::Validator@2.19 Mojolicious::Plugin::OpenAPI@2.07
I believe the manual use of JSON::Validator
started as a solution to #13, which then switched to JSON::Validator::OpenAPI
with 7e06ef80b49c901f52c6113ba795c3bd77e38b41.
The JV bug-fix on coercion has broken Yancy which also does a form of coercion. I believe I am on track to fix this.
See https://metacpan.org/changes/distribution/JSON-Validator#L14 (FYI: @jhthorsen)
This means Yancy's test suite currently fails: