forked from loafle/openapi-generator-original
* Add apache java client option * Add sample apache client config * Switch serialization library, use time formatter * Add pom template for apache dependencies * Add initial implementation of ApiClient using apache * Add apache api template Plus switch to TypeReference to handle generic types * Add support for sending json data * Generate test stubs with @Ignore * Add accept header * Remove unnecessary builder assignments * Set responseHeaders instance variable * Switch to general serialize / deserialize functions * Handle sending url encoded form data * Split response processing into new method * Allow requests without body * Use general HttpResponse interface If the method doesn't need to close it * Use clients connection timeout * Add constructor accepting custom client * Handle multipart and direct file uploads * Support file downloading Based on the implementation in the jersey client * Handle missing content disposition * Raise error if body given for an unexpected method * Use try with resources for response handling * Remove unused url parameter encode method * Handle content type parse exception * Improve response content type handling Would have had issues with content type headers containing a charset * Make all set methods return client * Add basic readme * Send content type with files * Set domain and path on cookies Otherwise they will be excluded from the request * Use consistent quoting in error messages * Add generated apache sample * Add generated docs changes * update samples * rename library, update samples, docs * update readme Co-authored-by: Harry White <hwhite@atlassian.com>
The following generators are available:
CLIENT generators
- ada
- android
- apex
- bash
- c
- clojure
- cpp-qt5-client
- cpp-restsdk
- cpp-tizen
- csharp
- csharp-netcore
- dart
- dart-dio
- dart-jaguar
- eiffel
- elixir
- elm
- erlang-client
- erlang-proper
- flash
- go
- go-experimental (experimental)
- groovy
- haskell-http-client
- java
- javascript
- javascript-closure-angular
- javascript-flowtyped
- jaxrs-cxf-client
- jmeter
- kotlin
- lua
- nim (beta)
- objc
- ocaml
- perl
- php
- php-dt
- powershell
- python
- python-legacy
- r
- ruby
- rust
- scala-akka
- scala-gatling
- scalaz
- swift4
- swift5 (beta)
- typescript-angular
- typescript-angularjs
- typescript-aurelia
- typescript-axios
- typescript-fetch
- typescript-inversify
- typescript-jquery
- typescript-node
- typescript-redux-query
- typescript-rxjs
SERVER generators
- ada-server
- aspnetcore
- cpp-pistache-server
- cpp-qt5-qhttpengine-server
- cpp-restbed-server
- csharp-nancyfx
- erlang-server
- fsharp-functions (beta)
- fsharp-giraffe-server (beta)
- go-gin-server
- go-server
- graphql-nodejs-express-server
- haskell
- java-inflector
- java-msf4j
- java-pkmst
- java-play-framework
- java-undertow-server
- java-vertx
- java-vertx-web (beta)
- jaxrs-cxf
- jaxrs-cxf-cdi
- jaxrs-cxf-extended
- jaxrs-jersey
- jaxrs-resteasy
- jaxrs-resteasy-eap
- jaxrs-spec
- kotlin-server
- kotlin-server-deprecated
- kotlin-spring
- kotlin-vertx (beta)
- nodejs-express-server (beta)
- php-laravel
- php-lumen
- php-mezzio-ph
- php-slim4
- php-symfony
- python-aiohttp
- python-blueplanet
- python-flask
- ruby-on-rails
- ruby-sinatra
- rust-server
- scala-finch
- scala-lagom-server
- scala-play-server
- scalatra
- spring