The gigub Swagger-Codegen page contains a section showing how to generate a sample client .
Assuming you have a Swagger specification, you can also create an API client on the Internet. Here is an example:
curl -X POST -H "content-type:application/json" -d '{"swaggerUrl":"http://petstore.swagger.io/v2/swagger.json"}' http://generator.swagger.io/api/gen/servers/spring-mvc
For broken links on the gigub swagger-codegen page report a problem here
source share