William Cheng
9d6b12591e
Fix set, map import ( #12818 )
...
* fix set, map import
* update samples
* update tests
2022-07-10 14:58:55 +08:00
William Cheng
f242b5e1dd
Skip import of allOf composition schema ( #12798 )
...
* skip import of allOf composition schema
* update samples
* allow python generator to keep old behaviour
* update js import
2022-07-10 14:58:22 +08:00
William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
William Cheng
29ea48ee96
update jackson-databind-nullable to 0.2.3 ( #12693 )
2022-06-25 12:45:17 +08:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
William Cheng
12cdacabbf
[Inline model resolver] better handling of inline responses and bug fixes ( #12353 )
...
* better handling of inline response schemas, bug fixes
* update samples
* add new files
* better code format
* remove unused ruby files
* fix java test
* remove unused js spec files
* remove inline_response_default_test.dart
* fix webclient tests
* fix spring tests
2022-05-13 10:17:59 +08:00
William Cheng
ad3b5f7045
[Inline model resolver] various improvements ( #12293 )
...
* better handling of requestbody in the inline resolver
* remove commented code
* better request body naming
* fix unique naming
* minor code format change
* removed additional underscore from names, fix test
* more fixes, update tests
* fix all tests
* undo changes to default codegen
* update samples
* update python tests
* add new files
* update samples
2022-05-10 17:13:57 +08:00
William Cheng
8330e16d66
Better inline model resolver to handle inline schema in array item ( #12104 )
...
* better support of inline schema in array item
* update tests
* update samples
* regenerate samples
* fix allof naming, remove files
* add files
* update samples
* update readme
* fix tests
* update samples
* update samples
* add new files
* update test spec
* add back tests
* remove unused files
* comment out python test
* update js test using own spec
* remove files
* remove unused files
* remove files
* remove unused files
* better handling of allOf with a single type
* comment out go test
* remove test_all_of_with_single_ref_single_ref_type.py
* fix inline resolver, uncomment go test
2022-04-20 10:28:15 +08:00
Peter Leibiger
478ed9b8ed
Add a sample of an enum model array in query params ( #12107 )
2022-04-12 13:53:51 +08:00
Peter Leibiger
15e9d4ed8c
Add example allOf with single ref ( #10948 )
...
* Add example allOf with single ref
* fix dart-dio-next handling of that case
* Refactor without vendor extension
* Regenerate newer samples
2022-04-12 13:52:53 +08:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
Rick Lane
f824b413a6
Update spring dependencies ( #12024 )
2022-04-01 10:07:29 +08:00
William Cheng
7370c4d3f8
update java samples
2022-03-25 00:42:07 +08:00
William Cheng
5d8b80a5cd
[Java] rename x-contentType to x-content-type ( #11895 )
...
* rename x-contentType to x-content-type
* undo changes
2022-03-18 09:50:42 +08:00
Radek Postołowicz
c22997b9b8
Cleanup Jackson type info mess fixes ( #9441 ) ( #11691 )
...
* Cleanup Jackson type info mess fixes (#9441 )
* fixup! add import mapping for JsonIgnoreProperties
2022-03-07 09:36:05 +08:00
Oleh Kurpiak
2e0dc573b3
[Java][WebClient] allow sync requests ( #11780 )
2022-03-04 22:58:03 +08:00
Mico Piira
4daead1aea
[Java] Fix reactor-netty dependency ( #11747 )
...
The spring-boot-starter-webflux uses
io.projectreactor.netty:reactor-netty-http
dependency so the io.projectreactor.ipc:reactor-netty
is actually not used at all
2022-03-01 17:39:58 +08:00
sullis
f1d0724f2a
[java] junit 4.13.2 ( #11733 )
2022-02-27 13:18:19 +08:00
Chris White
d153134dec
Fixed RFC3999DateFormat clone NPE ( #11705 )
2022-02-24 12:29:23 +08:00
William Cheng
df05e6f4bc
Update parser to 2.0.29 ( #11388 )
...
* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +08:00
William Cheng
b979eccf68
Add Github action file to test Java clients ( #11633 )
...
* add github action file to test java clients
* update tests
2022-02-17 15:49:34 +08:00
William Cheng
b6c445cdc3
update swagger core, jackson to newer version ( #11545 )
2022-02-08 13:31:20 +08:00
cachescrubber
194b3fda26
[Bug][Java/Spring] OAS3 related bugfixes and enhancements ( #11526 )
...
* Content mediatype is hardcoded in api.mustache #11511
* Generate Samples
* OAS3 incorrect data type when providing a default value #11367
* Generate Samples
* Fix JsonTypeName annotation handling in Java and JavaSpring
* Generate Samples
* getIsClassnameSanitized: use null safe equals
2022-02-05 17:29:58 +08:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
William Cheng
b7c8de9425
update samples
2022-01-21 17:45:53 +08:00
William Cheng
33bce99b8e
Avoid using import mapping in model generation ( #11217 )
...
* remove import mapping logic in model generation, better handle of file, list
* add new files for file, list
* fix some tests
* update tests, doc
* skip file as reserved word in feign client
* add new files
* remove file from reserved word list in spring generator
2022-01-16 23:57:53 +08:00
William Cheng
12e03b1937
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-02 15:41:37 +08:00
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
William Cheng
b72eba90cd
[java][okhttp-gson-nextgen] better oneOf implementation ( #11146 )
...
* add validJsonObject method
* add check for null
* fix list model generation
* fix optional fields validation
* add tests
* fix variable naming
* update tests
* add fromJson in oneOf, add tests
* convert JSON to static
* remove trailing space
* add fromString methods to all models
* add toJson, fix anyOf template
* remove workarounds
* undo changes to tests
* skip file schema test
* add new file
2021-12-18 23:22:55 +08:00
William Cheng
e5d58a35a2
update dependencies to newer versions (java) ( #11116 )
2021-12-14 18:32:37 +08:00
Justin Black
cee5f75912
Feat adds content and header properties to CodegenResponse ( #11046 )
...
* Adds responseHeaders to codegenResponse
* Sets response headers in codegenResponse
* Samples updated
* Adds test of response headers
* Adds content to CodegenResponse
* Sets codegenResponse content
* Tests added, test content-data.yaml spec update
* Adds mediaTypeSchemaSuffix input to getContent
* Tests updated
* Updates how response content schema names are set
* Adds missing Locale to String.format invocations
2021-12-10 13:49:29 -08:00
WILLIAM CHENG
eb75515715
Merge branch '5.4.x' into 6.0.x
2021-11-21 09:50:47 +08:00
WILLIAM CHENG
78fe5dc427
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-21 09:43:21 +08:00
Oleh Kurpiak
e7c3bdacc2
[Java] fix deserialization of readonly properties ( #10113 )
...
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
2021-11-14 22:05:25 +08:00
Oleh Kurpiak
3bdbf0339a
[Java] deserialize to LinkedHashSet when unique items ( #10241 )
...
* [Java] deserialize to LinkedHashSet when unique items
* [Java] fix deserialization of readonly properties
* [Java] deserialize to LinkedHashSet when unique items
2021-11-14 22:03:02 +08:00
Vincent Galloy
955aadc284
10788: ApiClient for resttemplate should not produce warning ( #10789 )
...
Motivation:
Remove useless warnings for webclient and resttemplate
2021-11-09 14:38:57 +08:00
William Cheng
48f81eef45
use IllegalArgumentException instead ( #10745 )
2021-11-02 12:47:15 +08:00
WILLIAM CHENG
4f2b5ee36d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-11-01 00:54:44 +08:00
WILLIAM CHENG
ab603a7322
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-01 00:49:06 +08:00
Martin Visser
59d5851797
Fix library generation compatibility with Gradle 7.2 ( #10716 )
...
* Make Java libraries compatible with Gradle 7
* Make kotlin-spring compatible with Gradle 7
* Update samples to comply to Gradle 7.2
* Generate samples
2021-10-29 12:36:12 +08:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
William Cheng
730636ad31
Merge remote-tracking branch 'origin' into 6.0.x
2021-10-19 12:55:59 +08:00
William Cheng
4b62b55877
use implementation, add min version of maven, gradle ( #10571 )
2021-10-11 21:10:04 +08:00
William Cheng
96c65fea61
[Java] add an option to customize gradle.properties ( #10540 )
...
* add an option to customize gradle properties
* add more info to gradle.properties
2021-10-08 11:20:50 +08:00