William Cheng
892e4f5b3c
update oltu to newer version ( #13782 )
2022-10-21 09:15:37 +08:00
Rade Martinović
514dbca08b
Updating org.apache.oltu.oauth2.client ( #13411 )
...
Updating the OAuth2 client (although obsolete, it's still productive in openapi-generator) due to security problems related to the underlying libraries
* sonatype-2022-3061
* sonatype-2012-0050
Update pom.mustache
2022-10-19 23:15:32 +08:00
Andrew Hatch
c0a9f0ea51
[java][okhttp-gson] support JSON array values ( #13672 )
2022-10-17 01:35:58 +08:00
William Cheng
cafdf64ca5
Fix ClassCastException when uuid has default value ( #13698 )
...
* fix cast error for uuid default
* fix java uuid default value
2022-10-16 09:08:17 +08:00
William Cheng
3ae37e27a5
[java][okhttp-gson] fix validateJsonObject ( #13630 )
...
* fix required check in java okhttp client
* fix validateJsonObject in okhttp-gson, add test
* move java-micronaut-client to test circleci
2022-10-07 23:06:34 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Justin Black
43375b9392
Upgrades swagger parser to 2.1.1, allows ingestion of 3.1.0 specs ( #13133 )
...
* Upgrades swagger-parser
* Removes additional property and halting of spec processing
* Updates tests
* Docs updated
2022-09-17 08:33:47 -07:00
ehealthexperts-rk
62d29c3be3
[JAVA] fix ClassCastException validating an optional JsonArray which is a JsonNullable ( #13448 )
2022-09-17 22:37:09 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
William Cheng
b6ca40031a
fix issue when discriminator property is an enum string ( #13001 )
2022-07-24 17:55:08 +08:00
William Cheng
ee8566260c
[JAVA] Generated api client doesn't work for plain text body types ( #12993 )
...
Co-authored-by: Ilya Kuchmin <kuchmin@haulmont.com>
2022-07-23 13:07:26 +08:00
Mauro Valota
ea7a319a65
[java] fixed pojo template for nullable fields ( #12630 )
...
* [java] fixed pojo template for nullable fields
* regenerated samples
2022-07-23 11:19:48 +08:00
Linus Klöckner
57496ff0b0
[java][okhttp-gson] Complex values in form data get serialized as JSON instead of String ( #12779 )
...
* Java: fix complex object serialization in form-data
* Java: update samples
2022-07-13 15:47:39 +08:00
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
Tomasz Janiszewski
0140f84f80
Keep AST small when usign builder ( #12610 )
2022-06-17 15:14:48 +08:00
William Cheng
0ec2bda3c4
update build.gradle to work with junit5 ( #12535 )
2022-06-05 09:45:46 +08:00
William Cheng
45a3b15b69
[java][okhttp-gson] Fix NPE in the response header, junit5 issue in surefire plugin ( #12525 )
...
* fix okhttp pom to work correctly with junit5
* fix version, fix NPE in response headers
2022-06-04 16:25:15 +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
fb8eac1258
update java samples
2022-05-20 17:17:58 +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
d135f1992e
Fix inline allOf in request body ( #12348 )
...
* fix inline allof in request body
* update samples
2022-05-12 12:51:36 +08:00
William Cheng
68360cab92
better error messages for oneOf in java okhttp-gson ( #12311 )
2022-05-10 17:16:02 +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
53eebc953f
New option to map inline schema names ( #12237 )
...
* add option to specify inline schema nam mapping
* update samples
* update samples
* add new option to plugins
* better code format
* better code format
* better log info
* better docstring
* add tests
2022-04-27 01:13:45 +08:00
Panos Argyrakis
981c090e0f
[Java][OkHTTP] Include HTTP response data in ApiException getMessage() ( #12207 )
...
* added getMessage() override
* Updated samples
* Updated test to expect new message format
* Updated pattern to expect specific message
* updated to platform agnostic line separators
2022-04-26 11:26:36 +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
Oleh Kurpiak
12454de3ac
[Java][OkHTTP] fix empty request body handling ( #12172 )
2022-04-20 00:17:28 +08:00
William Cheng
c533deb9a9
improve errorObjectType to avoid regression ( #12131 )
2022-04-14 16:31:42 +08:00
William Cheng
4e16146638
more checks in validateJsonObject ( #12041 )
2022-04-05 17:24:22 +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
William Cheng
6c1b68da91
[Java][okhttp-gson] better support for additional properties ( #11964 )
...
* add support for additiional properties in okhttp-gson java client
* deserialize with additional properties
* better handling of non-primitive type
* use entry set instead
* support disallowAdditionalPropertiesIfNotPresent
* remove additional properties in serialization
2022-03-27 16:56:25 +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
William Cheng
a4d320489d
fix warning, update build.gradle, build.sbt ( #11896 )
2022-03-18 09:50:05 +08:00
William Cheng
9a1e6d778a
[Java][okhttp-gson] update junit to 5.8.2 from 4.13.2 ( #11882 )
...
* update junit to 5.8.2 in java okhttp-gson client
* undo changes to yaml
* update samples
* update tests
* fix indentation
* restore tests
* update samples
2022-03-16 16:33:47 +08:00
William Cheng
941d4845d7
minor fix to java okhttp-gson pom.xml
2022-03-16 01:03:17 +08:00
William Cheng
2db3070b2d
Update java (okhttp-gson) client dependencies to newer versions ( #11877 )
...
* update java okhttp-gson client dependencies to newer versions
* update samples
2022-03-15 18:38:12 +08:00
William Cheng
482032d14f
fix warnings due to incorrect docstring ( #11815 )
2022-03-07 09:23:09 +08:00
William Cheng
683984896e
update maven-javadoc-plugin to newer version ( #11737 )
2022-02-27 16:57:16 +08:00
William Cheng
b0877a112d
fix oneOf discriminator lookup in java okhttp-gson client ( #11735 )
2022-02-27 15:42:54 +08:00
sullis
f1d0724f2a
[java] junit 4.13.2 ( #11733 )
2022-02-27 13:18:19 +08:00