William Cheng
bd7bc9aa79
[python-nextgen] Add bytearray, none_type as primitive type ( #15130 )
...
* add bytearray, none type as primitive type
* update samples
* update doc
2023-04-07 09:34:04 +08:00
William Cheng
07227d4650
add support for union of strictfloat and strictint ( #15124 )
2023-04-06 11:51:12 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
William Cheng
0dc84520e7
[python-nextgen] use __fields_set__ to determine if the field is needed in to_dict ( #15086 )
...
* use __fields_set__ to determine if the field is needed
* fix tests
2023-04-01 10:23:38 +08:00
William Cheng
1710615fd8
fix python nextgen github workflow ( #15092 )
2023-03-31 22:40:23 +08:00
William Cheng
b59d535176
[python-nextgen] Fix binary response ( #15076 )
...
* fix binary response in python nextgen client
* update samples
2023-03-31 16:16:58 +08:00
William Cheng
05fa5601dd
[python-nextgen] fix circular reference import ( #15070 )
...
* fix ciruclar reference import in python nextgen
* update samples
2023-03-30 10:07:34 +08:00
William Cheng
3ccd9be080
remove absolute_import ( #15071 )
2023-03-30 10:07:15 +08:00
William Cheng
4895b56089
[python-nextgen] fix pattern with double quote ( #15073 )
...
* fix pattern with double quote
* fix test
2023-03-30 10:06:24 +08:00
William Cheng
1cdcaeb1b9
update python-nextgen samples
2023-03-26 23:45:20 +08:00
William Cheng
a4dd90c01d
Better allOf handling in fromProperty ( #15035 )
...
* fix allOf handling in fromProperty
* add null check, update samples
* update dart generator to handle allof with a single ref
2023-03-26 15:06:27 +08:00
William Cheng
f5e427ad52
Do not add schema / class name mapping where custom mapping exists ( #14984 )
...
* fix #13150 Do not add schema / class name mapping where custom mapping exists
* update test spec
* improve import
* fix import for mapped models
* fix python
* code clean up
* fix dart client import
* fix dart:core import
* better import
* add tests
---------
Co-authored-by: Bernie Schelberg <bernard.schelberg@mywave.ai>
2023-03-24 22:20:04 +08:00
William Cheng
1c75997677
fix optional dict of object ( #15018 )
2023-03-22 02:08:31 +08:00
William Cheng
cf432522aa
[python-nextgen] fix optional dict in property ( #15009 )
...
* fix optional dict in property
* update samples
2023-03-21 23:59:26 +08:00
William Cheng
b3bfa1ef3b
use Any instead of StrictStr in any type ( #14995 )
2023-03-21 14:52:54 +08:00
César Revert
6e649af9a7
[java-spring] Move JsonProperty annotation from field to getter ( #13781 ) ( fix #5705 )
...
* 5705: Move JsonProperty annotation to the getters
* Regenerate samples
* Add jackson check
* Add test
* Minor fix
* Fix test
* Fix version
* [Java][Spring] update test & samples; add serialization/deserialization test
---------
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-03-19 04:59:48 -07:00
William Cheng
162623e49b
increase timeout ( #14991 )
2023-03-18 21:10:23 +08:00
Tomáš Karásek
aa066ab6fa
[python-nextgen] Fix validation of list of enums ( #14809 )
...
* [python-nextgen] check enum arrady values better
* [python-nextgen] re-generate exapmles for #14809
2023-03-18 20:27:26 +08:00
William Cheng
e1719f2b7b
[JavaSpring] migrate config files to use 3.0 spec ( #14981 )
...
* update spring config file to use 3.0 spec
* migrate spring config file to use 3.0 spec
* update github workflow to cover more samples
2023-03-17 16:02:27 +08:00
William Cheng
3d4f7b3ce0
[java] fix optional array property's default value ( #14961 )
...
* fix optional array property default value
* fix default values
* more fixes
* update default value for jersey2, 3, okhttp-gson
* update default value
* fix java okhttp-gson
* fix jersey2, 3
2023-03-17 11:58:49 +08:00
William Cheng
d0f7bd18ba
[spring] fix default value for nullable containers ( #14959 )
...
* fix default value, update spec to 3.0
* add tests for container default value
* update java camel samples
* remove samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable
* remove ./bin/configs/spring-boot-beanvalidation-no-nullable-oas3.yaml
* remove samples/openapi3/server/petstore/springboot-useoptional
* remove samples/openapi3/server/petstore/springboot-reactive
* update github workflow
* fix default in add, put operation
2023-03-17 10:16:17 +08:00
Oleh Kurpiak
bda2501455
[Java][Spring] option whether to generate required args constructor ( #14941 ) ( fix #14934 )
2023-03-14 10:39:58 +02:00
Robin Karlsson
564939a4a8
[java][jersey] Remove double brace initialization and some more jersey cleanup ( #14783 )
...
* Remove double brace initialization
* Use diamond operator
* Less clutter in generated api classes
* Optimize isJsonMime
* Revert change in escapeString
Skip toString() on string parameters.
* Fix edge-cases
A ServerVariable without enumValues and/or operationServers
with any ServerVariables would lead to invalid code.
2023-03-13 16:42:37 +08:00
William Cheng
d497c3d087
[python-nextgen] Better docstring/documentation ( #14880 )
...
* better docstring/documentation in python nextgen client
* update instruction in test files
2023-03-06 21:22:43 +08:00
William Cheng
46fb49ecd0
[python-nextgen] Add pyproject.toml ( #14861 )
...
* add pyproject.toml in python-nextgen client generator
* minor fix
2023-03-04 14:14:43 +08:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +08:00
William Cheng
39e27a804d
[python-nextgen] better enum naming ( #14869 )
...
* better handling of enum naming in python nextgen
* remove unused import
* update samples
* update samples
* map dot
2023-03-03 17:54:10 +08:00
Dan Čermák
e535066a85
[python-nextgen] Add @overload for api methods to handle async requests ( #14851 )
2023-03-03 15:51:59 +08:00
William Cheng
60e2d605c4
[python-nextgen] fix enum default value ( #14846 )
...
* fix enum value
* add test for default value
* update samples, better code format
2023-03-02 17:36:38 +08:00
Kuzma
c8fab3f40a
[Typescript] Use for of instead of for in at ObjectSerializer ( #14849 )
...
* [Typescript] Use for of instead of for in
* fix for
* regenerate samples
2023-03-01 22:16:01 +01:00
Antoine Lucas
e1ab25c915
Add constructor with required parameter for Spring ( #14822 ) ( fix #9789 )
...
* Add constructor with required parameter for spring
Fix #9789
* [Java][Spring] constructor with required args
---------
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-03-01 15:09:47 +02:00
William Cheng
c70a41210e
python-nextgen: fix tests
2023-03-01 17:17:08 +08:00
William Cheng
e82ae6bacd
[python-nextgen] Add datetime, date format support ( #14799 )
...
* add datetime, date format support in python nextgen
* encode query parameters
* update default datetime format
* change default datetime format
2023-03-01 15:29:47 +08:00
William Cheng
a4b5b85067
Update jackson nullable version to newer version v0.2.6 ( #14823 )
...
* update jackson nullable to newer version
* update samples
* update samples
* update samples
2023-02-27 18:38:31 +08:00
William Cheng
b5d4fa9d27
fix unique items in python nextgen client ( #14816 )
2023-02-26 10:21:26 +08:00
Emma
1f2d6b8848
[python-nextgen] support dict query params ( #14727 )
...
* [python-nextgen] convert dictionary query params to string
* [python-nextgen] regenerated samples
* [python-nextgen] added some test cases for parameters_to_url_query
* [python-nextgen] use json.dumps instead of str(v)
* [python-nextgen] update api_client tests
2023-02-25 22:25:52 +08:00
Dennis Melzer
92b96635bd
Fix bean validation for Collection and add unit test ( #14736 )
...
* Fix bean validation for Collection + uni test
* Fix
* Adapt examples
* Fix comments
* Merge master
* Remove Bean validation for Maps
* Remove @Valid from jakarta
* Fix example
* Fix comments
* Fix springboot-3 example
2023-02-25 22:06:31 +08:00
sbilz
f4e53db8cf
Java Jersey glassfish fix renewing OAuth-Accesstoken #14734 ( #14735 )
2023-02-25 22:01:33 +08:00
William Cheng
cab9872d6d
Add from_dict in model anyOf in python-nextgen ( #14781 )
...
* add from_dict to model_anyof template in python-nextgen, fixes #14767
* add space before from_dict in model.anyof in python-nextgen
* update samples, add tests
---------
Co-authored-by: Tomas Karasek <tom.to.the.k@gmail.com>
2023-02-22 10:56:05 +08:00
Kuzma
fb18e7a039
[Typescript] Enums generation (7.0.0) ( #14663 )
...
* Enums generation
* regenerate tests
* Update tests
2023-02-19 13:45:18 +01:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
William Cheng
1bd3ce7ce2
[python-nextgen] Better oneOf, anyOf support ( #14743 )
...
* better oneof, anyof support
* improve anyof support
* fix deprecation warning
* fix anyof, add tests
* add nullable support, add test
2023-02-19 17:16:15 +08:00
GregDThomas
c5d67ee042
Fix https://github.com/OpenAPITools/openapi-generator/issues/11570 by ensuring tags at the class level match tags at the method level ( #13434 )
2023-02-18 06:23:10 -08:00
William Cheng
71c2abf81c
[Java] fix default value for JsonNullable ( #14703 )
...
* fix java webclient default value
* update default value in java okhttp client
* fix java native client default value in JsonNullable
* improve java okhttp-gson default value template
* update java rest-related templates
* update feign samples
* update jersey3 templates
* update jersey2 templates
* update default value in jaxrs templates
* fix spring default value
* update jaxrs pojo, fix tests
* update samples
* suport set
2023-02-16 10:37:36 +08:00
Peter Leibiger
8b0b4b5d04
[dart][dart-dio] Add deprecations on models and fields ( #14676 )
2023-02-16 01:09:34 +08:00
Peter Leibiger
1814a04c20
[dart][dart-dio] Bump Dio to 5.0.0 ( #14675 )
...
* [dart] Cleanup unused/redundant stuff
* [dart] Bump Dio to 5.0.0
* Fix description
* Get tests to run based with git dependency
* Fix test generation
* Update docs
* Update test dependencies
* Use released version of http_mock_adapter
2023-02-16 01:09:08 +08:00
William Cheng
110460b71a
[python-nextgen] better datetime support in parameters ( #14621 )
...
* add allowStringInDateTimeParameters option
* add tests
* add files
* add tests for datetime query parameters
* fix file anme
* trigger build
* fix pytest
* install test requirement
* trigger build
* break build
* add new files
* fix Locale.ROOT
* update doc
2023-02-12 21:11:29 +08:00
William Cheng
72c02e4bc1
optionally support float strict type ( #14618 )
2023-02-12 19:44:18 +08:00