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
..
2023-01-02 17:10:48 +08:00
2022-11-07 21:30:24 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2022-11-07 21:30:24 +08:00
2021-07-12 17:11:35 +08:00
2022-11-01 17:16:46 +08:00
2022-11-08 11:16:16 +08:00
2022-08-27 18:10:28 +08:00
2023-01-04 10:15:23 +08:00
2019-09-24 18:53:54 +08:00
2021-04-13 13:50:41 +08:00
2023-01-30 16:35:19 +08:00
2023-01-30 16:35:19 +08:00
2023-01-04 10:15:23 +08:00
2023-01-04 10:15:23 +08:00
2023-01-30 16:35:19 +08:00
2022-11-07 21:30:24 +08:00
2022-12-06 23:48:29 +08:00
2022-11-07 21:30:24 +08:00
2023-01-17 11:24:15 +02:00
2023-01-30 20:19:00 +08:00
2022-11-07 21:30:24 +08:00
2023-01-14 06:59:33 -08:00
2023-01-02 16:28:44 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-01 17:16:46 +08:00
2022-11-07 21:30:24 +08:00
2023-01-13 14:43:33 +08:00
2023-01-04 10:15:23 +08:00
2022-11-07 21:30:24 +08:00
2023-01-02 16:28:44 +08:00
2023-01-02 16:28:44 +08:00
2022-11-11 18:18:19 +08:00
2022-04-09 15:20:58 +08:00
2023-01-02 16:28:44 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2023-01-30 20:19:00 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2023-01-30 16:40:33 +08:00
2022-11-01 17:16:46 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 17:10:48 +08:00
2023-01-02 15:32:57 +00:00
2023-01-04 10:15:23 +08:00
2023-01-02 15:32:57 +00:00
2023-01-02 15:32:57 +00:00
2023-01-02 15:32:57 +00:00
2023-01-02 15:32:57 +00:00
2023-01-02 15:32:57 +00:00
2022-11-01 17:16:46 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-01 17:16:46 +08:00
2022-11-01 17:16:46 +08:00
2022-11-07 21:30:24 +08:00
2022-12-27 23:42:41 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2023-01-04 10:15:23 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-01 17:16:46 +08:00
2021-02-23 11:33:10 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2023-01-16 11:39:51 +02:00
2023-01-30 20:19:00 +08:00
2023-01-02 17:10:48 +08:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00
2023-01-17 11:24:15 +02:00