-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
After asking on Slack about this, I'm opening this issue here on GitHub to check if is there any interest about this.
The OpenAPI Specification (formerly called Swagger Specification until version 2.x) is an open standard aimed to describe RESTful APIs with machine-readable specfication files (with JSON or YAML syntax) which can be used to generate human-readable documentations but also code and tests for clients and servers in different languages (see for example OpenAPI Generator and Swagger Codegen).
I think that if PokéAPI documented its APIs with the OpenAPI standard it would be much simpler develop, test and maintain client libraries and servers. Also, there are the JSON Schemas of each REST resource already, so it shouldn't be too difficult to develop a global specification of the APIs.
What do you think? Is there any interest about providing an OpenAPI specification of PokéAPI?