API client generator HOWTO

Marius Volkhart edited this page Nov 16, 2018 · 7 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
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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.