Forum Discussion

bocasenior's avatar
bocasenior
Frequent Visitor
2 years ago

Comparing JSON returned from an Endpoint to a Swagger file

I pull data from quite a few endpoints from a variety of companies the majority of which are very small and as such provide very little if any documentation.  My coworkers and I create swagger files for each of these endpoints for our use in retrieving the necessary data.   The problem is many of these companies update their APIs frequently without warning.

 

What I am looking for is a tool where I can use the raw JSON coming from the endpoint and compare it to our Swagger definition of that endpoint and produce a DIFF file showing both new and missing fields.  Additionally a few times each year an existing field will change types (such as integer to string).

 

Thank you.

No RepliesBe the first to reply