- Notifications
You must be signed in to change notification settings - Fork 6k
API client generator HOWTO
Matthew Davis edited this page Nov 12, 2019 · 8 revisions
Here is a list of API clients available in Swagger Codegen:
async-scala csharp cpprest (C++, https://github.com/Microsoft/cpprestsdk) dart flash go groovy java jaxrs-cxf-client javascript javascript-closure-angular jmeter nancyfx nodejs-server objc perl php python (Swagger version 2.X only) qt5cpp (C++, https://www.qt.io/) ruby scala swift swift3 swift4 tizen typescript-angular typescript-angularjs typescript-node typescript-fetch akka-scala csharp-dotnet2 clojure haskell
For command line usage, use -l
to specify the API client. e.g.
git clone https://github.com/swagger-api/swagger-codegen.git cd swagger-codegen mvn clean install java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \ -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l jaxrs-cxf-client \ -o /var/tmp/swagger-codegen/jaxrs-cxf-client
would suggest when compiling to use flag to ignore tests. The tests requires extra dependencies and the compilation might fail due to that.