William Cheng
875ff05f30
include kotlin jackson in CI tests ( #5438 )
2020-02-26 11:39:09 +08:00
Herve DARRITCHON
f6ef4fbec7
[kotlin][client] Add Jackson as serialization library ( #5236 )
...
* [kotlin][client] Add Jackson as serialization library
* [kotlin][client] Add kotlin-client-jackson.sh to kotlin-client-all.sh
* update kotlin client samples
* update doc
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-02-25 23:41:09 +08:00
Bruno Coelho
ffb196151f
[kotlin][client] improve debug experience ( #5286 )
...
* [kotlin][client] remove null message on server error
* [kotlin][client] avoid breaking change
* [kotlin][client] add response to client and server exceptions
* [kotlin][client] improve message on ClientException and ServerException
2020-02-16 11:00:14 -05:00
William Cheng
100b01844a
Merge remote-tracking branch 'origin/master' into 5.0.x
2020-02-04 15:31:10 +08:00
Matt Traynham
26c9c64634
[kotlin][client] Add inheritance to Kotlin Client templates ( #4453 )
...
* Add inheritance to Kotlin Client templates
* Correct white spacing issues
* Rebuild kotlin client samples
2020-02-01 22:12:11 -05:00
William Cheng
82e2448bf2
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2020-01-20 15:46:13 +08:00
William Cheng
04af5e0445
Merge remote-tracking branch 'origin/master' into 4.3.x
2020-01-20 15:04:34 +08:00
Sebastien Rosset
d61dcc17e0
[gradle] consistent use of maven url in gradle files ( #5045 )
...
* wrap maven url with uri function
* consistent use of maven url in gradle files
2020-01-19 14:57:38 -05:00
Jim Schubert
ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… ( #5034 )
...
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org
* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0
* Force HTTPS for mavenCentral gradle DSL
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00
Bruno Coelho
9d53ee4b69
[kotlin][client] make Request date converter toJson as default ( #4884 )
...
* Fix for Issue #2205
Because when we have tags on OpenAPI Specification, there can be more than 1 Feign Beans being generated and the title field is share by all the clients. This makes the code to stop working in runtime.
Here is a PR which uses the classVarName instead, which follows the standards and should be enough to solve this issue.
For more info please refer to: https://github.com/OpenAPITools/openapi-generator/issues/2205
* fix java feign parameter request name (#4883 )
* update sprign cloud feign sample
* [JAVA][SPRING][2195] added missing getter for enum value (#2346 )
* [2195] added missing getter for enum value
* updated samples
* re-generate spring samples
* Removed @JsonValue from toString and regenerated samples
* re-generate spring samples
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
* update samples
* [kotlin][client] make Request date converter toJson as default
* [kotlin][client] update windows scripts
* [kotlin][client] update docs
* [kotlin][client] update scripts
* [kotlin][client] update scripts
Co-authored-by: Filipe Manuel Couto Pinheiro <filipemcpinheiro@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
Co-authored-by: Lukáš Vasek <bilaak@gmail.com>
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
2020-01-02 13:46:49 +08:00
William Cheng
bad78a30c8
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-20 23:26:19 +08:00
William Cheng
4fb503bcac
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-20 23:21:21 +08:00
Bruno Coelho
3eaafce569
[kotlin][client] Use OffsetDateTime to represente date-time received by the server ( #4835 )
...
* [kotlin] add OffsetDateTime support
* [kotlin] serializer add missing import
* [kotlin] update pet projects and fix tests
* [kotlin] update docs
* [kotlin] update pet projects
* [kotlin] update date-time
* [kotlin] update pet project
* [kotlin] update windows script
2019-12-20 23:20:02 +08:00
William Cheng
165a9e0508
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-20 20:52:27 +08:00
William Cheng
531dc30917
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-20 20:38:49 +08:00
Bruno Coelho
56f298a0b4
[kotlin][client] unify jvm libraries ( #4827 )
...
* [kotlin] unify jvm envirement
* [kotlin] rename retrofit2 to jvm-retrofit2
* [kotlin] update retrofit2 bat script
* [kotlin] update docs
* [kotlin] update docs
* [kotlin] update pet projects
2019-12-20 18:25:07 +08:00
Bruno Coelho
9feaae8572
[kotlin][client] make serializer configurable ( #4740 )
...
* [kotlin][client] make serializer configurable
* [kotlin] update pet projects
2019-12-20 18:08:16 +08:00
Bruno Coelho
b6fd1b0ade
[kotlin][client] expose http status code on errors ( #4742 )
...
* [kotlin][client] expose http status code on errors
* [kotlin] update pet projects
* [kotlin] update pet projects
2019-12-20 18:06:35 +08:00
Bruno Coelho
265ad2297b
[kotlin] add options sortParamsByRequiredFlag and sortModelPropertiesByRequiredFlag ( #4707 )
...
* [kotlin] add option to sortParamsByRequiredFlag
* [kotlin] add option to sortParamsByRequiredFlag
* [kotlin][client] sort parameters in the models
* [kotlin] update docs
* [kotlin][client] simplify sortParamsByRequiredFlag implementation
* [kotlin] experiment with sortnmodel properties by name
* [kotlin] introduce sortModelPropertiesByRequiredFlag
* [kotlin] update docs
* [kotlin] update kotlin
* [kotlin] fix tests
* [kotlin] update docs
* Revert "[kotlin] update docs"
This reverts commit 88ad825de5b4c090fe04398bdfde2e9d3252742f.
* [kotlin] update docs and petstores
* [kotlin] update docs
* [kotlin] update pet projects
2019-12-20 17:42:48 +08:00
Alexander Eggers
bb93a3b1e2
[Kotlin][Client] Request date converter ( #4750 )
...
* Added new cli option to define the request date converter
* Fixed a few build errors
* Update api.mustache
* Fixed api mustache
* Removed unused import
* Fixing mustache templates
* Tweaking mustache templates
* Added sample and new bat file
TODO create new openapi 2.0 source file to simulate the datestring via schema.
* Tweaking mustache templates
* Updated templates and samples
* Fixed build error
* Updated samples
* Fixed path
2019-12-18 10:22:29 +08:00
Alexander Eggers
02f5cb1a65
[Kotlin][Client] Added new option to enable moshi code generator ( #4781 )
...
* Added new option to enable moshi code generator
* Tweaking Serializer template
2019-12-14 14:39:16 +08:00
William Cheng
466a67c9bc
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-12 17:27:49 +08:00
William Cheng
5f5401bca6
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-12 17:24:57 +08:00
facundomedica
2277934d5e
[Kotlin] fix basic authentication compilation issue ( #4772 )
...
* Fix #4771
* update samples
2019-12-12 17:18:07 +08:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
William Cheng
fffe7c8a83
update samples
2019-11-23 00:24:50 +08:00
William Cheng
ac8b96b972
update samples without batch mode
2019-11-21 17:13:30 +08:00
William Cheng
f07b3e0521
Prepare 4.2.2-SNAPSHOT ( #4497 )
...
* update to 4.2.2-SNAPSHOT
* update doc
* update samples
* skip ocaml test
* update version
* fix version
2019-11-15 21:34:25 +08:00
William Cheng
84d3562a0f
[Kotlin][Client] minor improvements ( #4419 )
...
* minor improvement to kotlin generator
* minor code format change
2019-11-11 16:36:07 +08:00
Bruno Coelho
7cf027fbf5
[kotlin][client] gson complete integration ( #4332 )
...
* [kotlin] update dependencies
* [kotlin][client] complete gson integration
* [kotlin][client] run petstores
* [kotlin][client] fix JsonMediaType and update petstores
* Add kotlin client gson to pom.xml
* Remove org.json dependency
* Try to fix kotlin-gson build
* Add kotlin client nonpublic to pom.xml
* Update samples
* try to fix build
* try to fix build
* try to fix build
* try to fix build
* [kotlin][client] restore libraries version
* [kotlin][client] update kotlin version
* [kotlin][client] update some libraries versions
* [kotlin][client] update some libraries versions
* [kotlin][client] add kotlin-gson and kotlin-nonpublic to CI test suit
* [kotlin][client] update some libraries versions
* try to fix build
* try to fix build
2019-11-08 15:02:48 +08:00