Closed RinseV closed 2 months ago
This has just been released in 1.4.3
Thank you so much for the incredibly quick turn-around! I'm happy to report that I can now use both openapi_first
& activerecord_json_validator
without having to downgrade either package
Happy to help. Any feedback, wish-lists, complains or ideas about this gem would be greatly appreciated.
I'm trying to use this gem for validating my OpenAPI schema against the responses from my controllers by replacing committee with this gem. I'm also using the activerecord_json_validator gem which requires
json_schemer ~> 2.2.0
. Currently, openapi_first requiresjson_schemer ~> 2.1.0
which is causing a mismatch in my dependencies. I am currently using version 3.0.0 ofactiverecord_json_validator
. Unfortunately, there is no way to usejson_schemer
2.1.0 with version 3.x ofactiverecord_json_validator
since 3.0.0 ofactiverecord_json_validator
requiresjson_schemer
2.1.x.As such, I've updated the version of
json_schemer
in this gem to resolve this conflict if you're trying to use this gem together with version 3.0.0 ofactiverecord_json_validator
.As far as I can tell, the version of
json_schemer
can be safely updated to 2.2.0 (see changelog here). The only change that affects this library is the change in the validation error message foradditionalProperties
as changed in this commit. As such, I've updated the spec to reflect this change.Let me know if any other changes are required.