Re:Ask HN: Back-end team does not document their APIs. How d...
by wing328hk on Tuesday October 11, 2016 @10:46PM
(#12690107)
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/ 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.
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
Disclosure: I'm a top contributor to Swagger Codegen