jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 44 forks source link

YAML::XS 0.67 is missing or could not be loaded #153

Closed eserte closed 4 years ago

eserte commented 5 years ago

Some of the t/v3* tests may fail, probably if YAML::XS is not installed:

[JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /home/cpansand/.cpan/build/2019120422/JSON-Validator-3.16-4d9__g/blib/lib/JSON/Validator.pm line 372.
t/v3-default.t ........................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
[JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /home/cpansand/.cpan/build/2019120422/JSON-Validator-3.16-4d9__g/blib/lib/JSON/Validator.pm line 372.
t/v3-invalid_file_refs.t .............. 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
[JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /home/cpansand/.cpan/build/2019120422/JSON-Validator-3.16-4d9__g/blib/lib/JSON/Validator.pm line 372.
t/v3-invalid_file_refs_no_path.t ...... 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
...
[JSON::Validator] YAML::XS 0.67 is missing or could not be loaded. at /home/cpansand/.cpan/build/2019120422/JSON-Validator-3.16-4d9__g/blib/lib/JSON/Validator.pm line 372.
t/v3-valid_file_refs.t ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/v3.t ................................ ok
jhthorsen commented 4 years ago

I've fixed this by depending on YAML::XS, since there's been too many if these kinds of reports now.

Thanks for reporting in!