Closed hornc closed 9 years ago
I need to update the license info in the README since the included Swagger 2.0 spec is included unmodified, and we are now including the json schema draft04 too. I'll need to research the license requirements there.
Also, I need to include the new schema file in the gemspec and bump the version etc.
LGTM re code changes. :+1: wrt your comments above
Previously Apivore used a modified version of the Swagger 2.0 spec that manually included the contents of the $refs to the draft04 schema. Forming this was a manual process.
This PR uses the latest unmodified Swagger 2.0 spec and draft04 and takes advantage of a feature of
json-schema
that lets us register an external resource locally. This makes getting the latest version of either easier to update and include.