William Cheng
966eab4cf3
Add woleet.io to the user list ( #4854 )
2019-12-21 11:07:55 +08:00
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
2f5a229fb9
use maven quiet mode
2019-12-20 21:45:07 +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
William Cheng
3146e80c61
update doc
2019-12-20 19:00:32 +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
87ee6c8bfb
update documentation
2019-12-19 21:29:31 +08:00
William Cheng
77b28f7963
Add @ityuhui to C technical committee ( #4841 )
2019-12-19 16:57:50 +08:00
Hui Yu
5ba67c8c95
[C-libcurl] Escape parameter name of function when it is the C keyword. ( #4838 )
2019-12-19 16:29:56 +08:00
Sascha Groß
366bfd2a67
Fix #4786 Bean Validation for type:string, format: email will work for the SpringCodegen ( #4788 )
2019-12-19 11:30:39 +08:00
Jim Schubert
10b60e27b1
[dart] Allow derived generators to call DefaultCodegen#processOpts ( #4812 )
...
DefaultCodegen#procesOpts sets up quite a bit which may be expected by
users (template directory overrides, git user/repo, etc). The way the
dart-dio and dart-jaguar processOpts methods were written, these things
did not work. This makes it work.
2019-12-19 11:29:13 +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
Jim Schubert
b62d68ac5a
[markdown] New Markdown Generator ( #4811 )
...
* [markdown] New Generator
* [docs] Update to avoid conflict with new markdown generator
2019-12-19 11:16:20 +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
Yuriy Belenko
c6ec794293
[Slim4] Add PHP syntax checker ( #4831 )
2019-12-19 11:07:10 +08:00
Jiri Kuncar
fb0479a213
Include vendor extensions from security scheme ( #4830 )
2019-12-19 00:28:38 +08:00
William Cheng
fee79246d0
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2019-12-19 00:19:57 +08:00
William Cheng
4ee610c857
update doc
2019-12-19 00:19:21 +08:00
tanmen
375f24f605
fix unused import in allOf ( #4805 )
...
nested model
2019-12-18 17:16:34 +01:00
William Cheng
4ac5ba13ca
fix script permission
2019-12-18 17:03:34 +08:00
Xambey
52d3844ff4
fix(typescript-angular): Fix date-timing-parsing is truncating the time ( #4623 #4763 ) ( #4792 )
...
* fix(typescript-angular): Fix date-timing-parsing is truncating the time
* fix(typescript-angular): Fix date-timing-parsing is truncating the time (#4330 )
* fix(typescript-angular): Fix date-timing-parsing is truncating the time (#4623 )
2019-12-18 08:28:48 +01: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
Yuriy Belenko
0ae1ea68fb
[Slim4] Add array support to Data Mocker ( #4801 )
...
* [Slim4] Add new method to Mocker interface
* [Slim4] Add tests and implement mockArray method
* [Slim4] Refresh samples
* [Slim4] Extract OAS properties in separated method
2019-12-18 09:59:35 +08:00
Jim Schubert
88efb28506
[core] standardizes validation properties in ADT ( #4762 )
...
This adds some conistency to how validation properties are persisted to
the Codegen* types. Whenever we extract metadata from an OpenAPI Schema,
that metadata may include properties defined in the JSON Schema
Validation specification section 6 (see
https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6 ).
Previously, only some of these were copied.
This creates an interface allowing for consistent type access across:
* CodegenModel
* CodegenParameter
* CodegenProperty
* CodegenResponse
This does _not_ change existing public fields which previously exposed
these on some of the above type (see CodegenParameter).
CodegenModel has a legacy edge case where primitive types could be
represented at that level rather than as a referenced schema. This adds
the sync of validation properties to these primitive constructs for
CodegenModel with a note that they're legacy and likely to be removed
later.
2019-12-18 09:47:03 +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
William Cheng
62e5d1f43b
comment out python (2.x) flask test
2019-12-17 16:39:43 +08:00
Jim Schubert
399e73e5d8
[samples] Fix --batch option for slim4/feign and regenerate ( #4810 )
2019-12-17 16:21:58 +08:00
AlexG
1f8383a973
breaking allModels indexing from updateAllModels apart into its own method getAllModels ( #4753 )
2019-12-17 16:14:39 +08:00
jigsaw
67de4c4d8d
Fix typo ( #4813 )
2019-12-17 16:01:58 +08:00
Jiri Kuncar
45eb87c16a
[Python] Remove mutable default argument ( #4665 )
2019-12-17 10:39:54 +08:00
William Cheng
8d37641ae1
Add Oracle as the OpenAPI Generator user ( #4809 )
...
* add oracel as the user
* add oracle to the user list
2019-12-17 09:47:54 +08:00
amond
c98644a672
[dart][dio] add dateLibrary options ( core, timemachine ) ( #4716 )
...
* feat(dart-dio): add datelibrary options
Signed-off-by: Minsu Lee <amond@amond.net>
* fix: missing semicolon
Signed-off-by: Minsu Lee <amond@amond.net>
* enum name
* fix test
* fix test
2019-12-16 17:55:49 +08:00
William Cheng
49022d7b66
Add @athornz, @amondnet to Dart technical committee ( #4800 )
2019-12-16 17:54:10 +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
Andrii Hrytsiuk
a9cc96b50f
fix template for RequestBody, added 'required' attribute ( #3134 ) ( #4756 )
...
* fix template for RequestBody, added 'required' attribute (#3134 )
* update Spring samples (#3134 )
2019-12-16 17:34:59 +08:00