The way I see it, the specification files are more like data rather than part of the code base, the idea being that eventually any third-party could write a specification file and have Geekier interact with that API. It seems to me, then, that we can only ensure compatibility between the API specification file and our own code. If those are compatible, then the incompatibility is really between the specification file and the service itself, which would prove a constant nightmare to keep covered by automated tests.
Put another way, if we include the specification files as part of our tested code base, that would mean that we would need to update our test suite and code
with each change to every API that Geekier supports.
So in my mind, our test suites should only cover accurate parsing of specification files, generation of API interfaces, and translation of API calls into proper web requests. Beyond that, if something breaks, then it's because of bad data.
Although, the guys at
rules.io might already have something entirely different in mind.
Dan