Ties de Kock
5740348902
[java] Jersey2 and resttemplate do not correctly send defaultCookies ( #4821 )
...
* Java/Jersey2 sends defaultCookies
* Send cookie value instead of [value] (resttemplate)
* Improve the javadoc string
2019-12-21 10:15:29 +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
Jérémie Bresson
ad6c832162
[java] Update jackson_databind_nullable_version to 0.2.1 ( #4839 )
...
* [java] Update jackson_databind_nullable_version to 0.2.1
* Update samples
* FIx typo
2019-12-20 23:18:47 +08:00
William Cheng
68b4ac5bee
update kotlin samples
2019-12-20 22:45:26 +08:00
William Cheng
06d1b99e34
update kotlin samples
2019-12-20 21:58:13 +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
cded5f9cf3
update dart samples
2019-12-20 20:51:46 +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
dc91112031
[swift4] add option to sortParamsByRequiredFlag ( #4706 )
...
* [swift4] add option to sortParamsByRequiredFlag
* [swift4] add option to sortParamsByRequiredFlag
* [swift] update docs
* [swift4] add option sortParamsByRequiredFlag to sample
2019-12-20 17:43:56 +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
William Cheng
a18494bd8e
Test kotlin-json-request-date in CI ( #4824 )
...
* test kotlin-json-request-date in ci
* minor code formatting
* add pom.xml for testing
* fix permission
2019-12-19 11:17:47 +08:00
Sai Giridhar P
e6e919fe98
[r] Fixing the CRAN submission issues ( #4828 )
...
* fix(r): CRAN submission issues
* fix(r): CRAN submission issues
2019-12-19 11:08:03 +08:00
zbarbuto
b73dbee8d1
Disable providers array when for providedInRoot in Angular ( #4798 )
2019-12-18 07:58:36 +01: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
Jiri Kuncar
617904c876
[go-experimental] Support selection and formatting of endpoint servers ( #4755 )
...
* [Go] Support server URLs in runtime
* [Go] Regenerate experimental clients
* Rename Url to URL
* Remove BaseBase from go-experimental
2019-12-17 20:41:52 -05:00
Hippolyte HENRY
83cb4206cd
[go-experimental] Remove duplicated line ( #4410 )
...
* Remove duplicated line
2019-12-17 07:34:53 -05:00
Hippolyte HENRY
7ea4dcd703
[go-experimental] Fix issue with nullable marshalling comparing to empty string no matter the enum type ( #4712 )
2019-12-17 07:33:59 -05:00
Jim Schubert
399e73e5d8
[samples] Fix --batch option for slim4/feign and regenerate ( #4810 )
2019-12-17 16:21:58 +08:00
Jiri Kuncar
45eb87c16a
[Python] Remove mutable default argument ( #4665 )
2019-12-17 10:39:54 +08:00
Pelle Stenild Coltau
f6dbd48b9c
[Swift4] Expanding CodableHelper with added date and JSON customisations ( #3365 )
...
* Expanding CodableHelper with a more customisable dateFormatter and JSON en-/decoder.
* Ran ./bin/swift4-petstore.sh
* Ran ./bin/swift4-petstore-all.sh again after merge from master.
* Ran ./bin/swift4-petstore-all.sh again after building.
* Ran ./bin/swift4-petstore-all.sh again after rebase latest from upstream master.
* sync master, update samples
* Built and ran ./bin/swift4-petstore-all.sh
* Re-adding code which disappeared in rebase from master.
* Fixed test
* [swift] remove old classes
2019-12-16 17:40:53 +08:00
William Cheng
adbed055dd
CI improvements ( #4791 )
...
* run all script in circleci
* test kotlin clients
* add new files
* undo chanages to circleci script
* update samples
* update bitwise config
* fix typo
2019-12-15 18:39:04 +08:00
Javier Luque Sanabria
bb4af91bbd
Feature/kotlin/library/retrofit ( #4518 )
...
* Some clean code.
* Add support for retrofit2 in models and apis. Need work in ApiClient, but it's not urgent.
* Add ApiClient with retrofit2 support.
* Remove unnecessary package.
* Add scripts to generate samples.
* Generate sample of retrofit2
* Change toUpperCase to toUpperCase(Locale.ROOT) to fix compile.
* Added GSON library when it's needed
* Fix typo.
* Add some missing common files.
* Execute bin script.
* Remove copy&paste error in script.
* [kotlin] update outdated files
* Fix apis with no params.
* Add missing import in ApiClient
* Add support for CSV, SSV, TSV, PIPES, SPACES in retrofit 2 library.
* Fix package name.
* Execute kotlin-client-retrofit2.sh script.
* force rebuild.
* execute script again.
* Add missing imports from okhttp3.
@Deprecated has a message param that java not. Add it with a default message.
* Execute retrofit2 script.
* Rerun script.
2019-12-15 18:26:37 +08:00
Justin Black
789f1a06f0
[Python] Adds allOf/oneOf/anyOf composed models ( #4446 )
...
* Adds composed model support for allOf oneOf anyOf
* Moves discriminator into discriminator() class method, adds test_deserialize_lizard, adds setting discriminator using allOf schema
2019-12-14 21:18:41 -05: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
Roland Franssen
0ffb99a48e
[PHP] Preserve JSON accept header ( #4684 )
...
* [PHP] Preserve JSON accept header
* recompile php client
* revise
* recompile
2019-12-13 17:14:18 +08:00
Dheeraj Nalluri
3754679751
[typescript-angular] Control Accept header via param ( #4774 )
...
* [typescript-angular] Control response mime type via param
* [typescript-angular] Update samples.
* [typescript-angular] Wrap httpHeaderAccept in an options object.
* [typescript-angular] Updated samples.
2019-12-13 07:33:34 +01:00
amond
6ed2b0de57
fix(dart-dio): update gitignore according to the guide dart guide ( #4734 )
...
Signed-off-by: Minsu Lee <amond@amond.net>
2019-12-12 21:23:08 +08:00
William Cheng
e29ccbb051
update samples
2019-12-12 18:41:44 +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
3e34903042
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-11 15:44:50 +08:00
Roland Franssen
b19d241be7
[PHP] ensure rewound guzzle response body ( #4744 )
...
* [PHP] ensure rewound guzzle response body
* recompile php client
2019-12-10 21:52:36 +08:00
William Cheng
525174f4d6
Add new files in java microprofile petstore client
2019-12-10 13:44:33 +08:00
William Cheng
f22f6a40a1
Add java microprofile samples
2019-12-10 11:53:23 +08:00
Justin Black
307f37c7f9
Updates python and python-flask travis CI testing to use python 3.6, 3.7, and 3.8 ( #4743 )
2019-12-10 11:29:14 +08:00
rbrincke
42f685f59c
Fix multi-part binary array form parameters for Spring Boot and Spring Cloud templates ( #4616 )
...
* Fix multi-part binary array strings
Multi-part binary array strings as outlined in #3139 resulted in `MultipartFile` rather than `List<MultipartFile>`. This PR attempts to resolve this by adjusting the templates.
Two tests have been added: one for `spring-boot` and one for `spring-cloud`.
Resolve #3139
* Fix multipart file name and description
* Handle array of MultipartFile for delegate
* Update samples due to file description being picked up
* Upload result of bin/spring-stubs
2019-12-09 20:59:05 +08:00
Daniel Ruf
5116163bfb
Use correct relative paths ( #4677 )
2019-12-09 15:15:42 +08:00
Michal Hornický
d8c469c19d
[go] Fix multi-value path params in go ( #4664 )
...
* Fix multi-value path params in go
* update oas v3 go petstore sample
2019-12-09 14:44:39 +08:00
Christophe Bornet
d405158d3f
Add javadoc to spring API, controller and delegate ( #4693 )
...
* Add javadoc to spring API, controller and delegate
* Add response description and code in javadoc
2019-12-09 11:15:57 +08:00
Sami Jaber
da44e458e0
typescript-fetch: Fix compatibility with noImplicitAny TS rule ( #4711 )
...
* Fix compatibility with noImplicitAny TS rule (required with CRNA app)
* new file added with bin/typescript-fetch-petstore.sh
* missing files with bin/typescript-fetch-petstore-all.sh
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/resources/typescript-fetch/runtime.mustache
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* changed files after bin/typescript-fetch-petstore-all.sh
* re-generate samples, fix windows typescript fetch script
2019-12-06 14:17:46 +01:00
mosesonline
f472020412
typescript-node: handle additional properties ( #4699 )
...
* add handling additional properties into typescript node
* additional tests
* petscripts
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNodeClientCodegen.java
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptNodeClientCodegen.java
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
2019-12-05 12:58:12 +01:00
djnalluri
cb31089664
[typescript-angular] Support text response types ( #4617 )
...
* [typescript-angular] responseType based on Accept header.
* [typescript-angular] Generate sample client code.
* [typescript-angular] Use in-line param to HttpClient.
* [typescript-angular] Fix CI check.
* [typescript-angular] Remove files introduced by running /bin/openapi3 scripts.
* [typescript-angular] Apply suggestions from code review
Co-Authored-By: Esteban Gehring <esteban.gehring@gmail.com>
* [typescript-angular] Default responseType = 'json'
* [typescript-angular] Fix potential NPE
* [typescript-angular] Remove type checking on responseType.
* [typescript-angular] Update samples.
2019-12-04 10:25:35 +01:00
Jiri Kuncar
dce392336d
[Go] Add multiple servers support to Go(-experimental) client ( #4635 )
...
* [Go] Add multiple servers support to Go-experimental client
* [Go] Use same configuration in go and go-experimental
* [Go] Use Replace -1 instead of ReplaceAll
* [Go] Fix typo and add bound check
* [Go] Regenerate missing templates
2019-12-04 16:27:30 +08:00
Jorge Rodriguez
06ba8317f9
Error in the reactive client when the path variables are a list ( #4687 ) ( #4689 )
...
* Error in the reactive client when the path variables are a list (#4687 )
* Update samples (#4687 )
2019-12-04 10:06:42 +08:00