William Cheng
fd45b74128
[Java] better default value handling (#14130)
* add test for array default value
* update null return
* minor fixes
* move default value tests to echo api spec
* add new files
* remove unused files
* fix enum array default, add tests
* better array init
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
* Update modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
* revert the fix
* improve default value handling
* update native samples, add tests
* update samples
* fix tests
* use conditional test for timezone
* add tests to apache http client echo api
* add option to default container to null
* fix map default value
* minor refactoring
* update samples
* fix javadoc
* fix pom.xml
* add tests in java native echo client
* add java apache client echo tests
* fix test
* fix test
---------
Co-authored-by: Leonard Brünings <lord_damokles@gmx.net>
2023-01-30 20:19:00 +08:00
..
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-30 20:19:00 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2019-07-26 09:59:21 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-11-24 21:48:09 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-11-24 21:48:09 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2019-07-26 09:59:21 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2022-11-24 21:48:09 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00
2022-11-24 21:48:09 +08:00
2023-01-20 01:57:32 +08:00
2022-03-25 00:42:07 +08:00
2023-01-20 01:57:32 +08:00