3 ms·
There are other tools/plug-ins to generate OpenAPI/Swagger spec (1.2 or 2.0) based on annotations in the code. Please refer to http://swagger.io/open-source-int
by wing328hk 10y ago
There are other tools/plug-ins to generate OpenAPI/Swagger spec (1.2 or 2.0) based on annotations in the code. Please refer to http://swagger.io/open-source-integrations/ http://swagger.io/open-source-integrations/ for more information.
If the REST API is documented in OpenAPI/Swagger spec, you can then use Swagger Codegen [1] to automatically generate API clients in Java, C#, Javascript, Typescript, Ruby, ObjC, Swift and more.
[1]: https://github.com/swagger-api/swagger-codegen https://github.com/swagger-api/swagger-codegen
Disclosure: I'm a top contributor to Swagger Codegen