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
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
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
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
sullis
f1d0724f2a
[java] junit 4.13.2 ( #11733 )
2022-02-27 13:18:19 +08:00
William Cheng
33ec0540b2
fix typo in the comments ( #11729 )
2022-02-26 15:45:30 +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
Lennart Schwahn
ba04720898
fix #6134 by considering the type List<File> ( #11361 )
...
The method buildRequestBodyMultipart in ApiClient.java now recognizes if
an input parameter is an instance of List.
2022-02-15 10:35:46 +08:00
William Cheng
8455c1cd23
Remove the option to support JDK7 from Java generator and templates ( #11547 )
...
* remove java8 from java client generator and templates
* update tests
* remove threetenbp
* update spring templates to remove java8
* remove java8 from jaxrs template
* fix jaxrs spec
* fix feign
* remove CustomInstantDeserializer.java
* fix jersey1
* fix undertow
* various update
* fix jaxrs jersey1
* fix java inflector
* fix jaxrs cxf
* add new files
* update doc
2022-02-10 10:35:29 +08:00
William Cheng
b6c445cdc3
update swagger core, jackson to newer version ( #11545 )
2022-02-08 13:31:20 +08:00
William Cheng
7c1f6c5d6a
update build.gradle, build.sbt in java okhttp-gson client ( #11543 )
2022-02-08 10:57:58 +08:00
William Cheng
51800471fa
[java][Okhttp] replace okhttp-gson with okhttp-gson-nextgen ( #11538 )
...
* replace okhttp-gson with okhttp-gson-nextgen
* add new files
* update doc
* clean up pom
* update test
* restore error handling in doc
* add back changes
* uncomment tests
* update samples
2022-02-08 00:05:44 +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
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
mvistein
c12456de8e
[Java-okhttp-gson] Do not set content-type if content type is null #2 ( #11315 )
...
* Fixing empty Content-Type in HTTP requests
* Updating samples
2022-01-16 10:29:47 +08:00
William Cheng
d17a472b89
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-03 18:03:00 +08:00
William Cheng
2db3e6bb25
update java samples
2022-01-02 17:55:26 +08:00
William Cheng
238639a500
update java sampes
2022-01-02 17:28:17 +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
b2daa5a836
update jackson-databind-nullable to 0.2.2 ( #11121 )
2021-12-15 11:41:16 +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
e00efe7c8d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-12-07 00:12:13 +08:00
William Cheng
2b7910c875
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-12-06 23:57:07 +08:00