3 ms·
How does this compare to JSON API? http://jsonapi.org/ http://jsonapi.org/ Is this a competing standard? I'm getting fairly nervous about the rise of competing
by joshdotsmith 11y ago
How does this compare to JSON API? http://jsonapi.org/ http://jsonapi.org/
Is this a competing standard? I'm getting fairly nervous about the rise of competing "standards" with APIs.
- wise_young_man 11y agoI'm less familiar with JSON API, but at first glance it looks like a standard around JSON response bodies for APIs. Swagger's standard API definition is external of your actual API responses and is used primarily for API docs and can be used for auto generating API client libraries/SDKs. Here's an example: https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json https://github.com/OAI/OpenAPI-Specification/blob/master/exa...