William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
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
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
cachescrubber
5221682086
[Java][Client] Support annotationLibrary=none to remove swagger annotations ( #13869 )
...
* Support annotationLibrary=none in JavaClientCodegen
* Add example using annotationLibrary=swagger1
* Support annotationLibrary=none in libraries
* Fix missing curly brace.
* fix if statement condition
* Support {{#swagger1AnnotationLibrary}} in java/rest-assured
* Adopt JavaModelTest
* Generate docs
* Generate samples
* clean up java feign files
* clean up feign samples
* fix resttemplate, native
* fix resttemplate withXml
* fix webclient
* fix java-jersey2, vertix
* fix googleapi client
* fix rest assured
* fix rest assured
* update apache-httpclient
* fix jersey2 special character
* fix resteasy
* fix jersey2
* update samples
* fix jersey2, okhttp streaming
* update okhttp-gson
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-11-04 17:07:46 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
Thibault Duperron
1b65ef38f5
Update dependecies for CVE ( #13834 )
...
* Update dependecies for CVE
fix #13772
* Fix schemas
2022-10-31 10:55:11 +08:00
William Cheng
4c19c725a7
minor improvements on java client based on intellji ide ( #13864 )
2022-10-30 23:31:04 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +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
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
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
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
e0bd2440f1
[Java] Update rest-assured dependencies ( #12420 )
...
* update rest-assure dependencies in java client
* update rest assured version
* update gradle, sbt build files
2022-05-21 16:18:39 +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
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
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
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
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
3cb4b7d08e
[Java] remove tabs from java templates ( #11557 )
...
* remove tabs from java templates
* replaces tabs with spaces in java templates
2022-02-10 10:47:08 +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
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
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
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
William Cheng
e44c69dab1
fix outdated link, improve docstring ( #10870 )
2021-11-17 11:17:48 +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
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