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-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-12-28 16:32:13 +08:00
2022-11-07 21:30:24 +08:00
2022-11-20 16:10:55 +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
2023-01-29 19:16:58 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2023-01-24 07:48:49 +01:00
2022-11-07 21:30:24 +08:00
2023-01-16 16:51:04 +08:00
2022-11-01 17:16:46 +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
2023-01-06 11:26:32 +08:00
2022-11-07 21:30:24 +08:00
2023-01-06 11:26:32 +08:00
2022-11-07 21:30:24 +08:00
2023-01-06 11:26:32 +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-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2022-11-07 21:30:24 +08:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-02 09:20:41 +00:00
2022-11-07 21:30:24 +08:00
2023-01-13 10:29:27 +00:00
2022-10-19 22:29:34 +08:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-02 09:20:41 +00:00
2023-01-02 09:20:41 +00:00
2023-01-02 09:20:41 +00:00
2023-01-02 09:20:41 +00:00
2022-11-07 21:30:24 +08:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-02 09:20:41 +00:00
2023-01-02 09:20:41 +00:00
2023-01-02 09:20:41 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00:00
2023-01-13 10:29:27 +00: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-11-07 21:30:24 +08:00
2022-12-27 16:58:44 +08:00
2022-11-01 17:16:46 +08:00
2022-11-01 17:16:46 +08:00
2022-11-08 11:16:16 +08:00
2022-12-17 16:05:47 +08:00
2022-12-17 16:05:47 +08:00
2022-11-15 17:40:28 -08:00
2022-11-15 17:40:28 -08:00
2022-12-17 16:05:47 +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-12-21 15:19:51 +08:00
2022-12-21 15:19:51 +08:00
2022-12-21 15:19:51 +08:00
2022-12-28 15:08:21 +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-04 10:15:23 +08:00
2022-12-20 22:02:03 +08:00
2022-12-20 22:02:03 +08:00
2023-01-04 10:15:23 +08:00
2022-11-07 21:30:24 +08:00
2022-12-20 22:02:03 +08:00
2023-01-30 10:37:00 +02:00
2023-01-30 10:37:00 +02:00
2022-11-07 21:30:24 +08:00
2023-01-13 10:29:00 +00:00
2022-11-07 21:30:24 +08:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-11-25 13:27:54 +01:00
2022-12-09 15:24:55 +01:00
2022-11-07 21:30:24 +08:00
2023-01-03 08:22:38 +01:00
2022-12-23 01:17:31 +08:00
2022-11-07 21:30:24 +08:00
2022-11-07 21:30:24 +08:00
2022-12-22 10:02:00 +01:00
2022-12-22 10:02:00 +01: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