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
Jason Froehlich
a3c5bbb09a
Added field and class level annotations to the pojo.mustache ( #11775 )
...
* Added field and class level annotations
Added x-class-extra-annotation and x-field-extra-annotation for class and field level annotations per object/field
* added field and class level extra annotations to pojos
* Updated samples
* Removed duplicate line
* Updated samples
2022-03-13 21:55:25 +08:00
Oleh Kurpiak
fb2c41c720
[Java] implicit headers regex ( #11819 )
2022-03-10 10:49:52 +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
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
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
0204bf4ae2
Squashed commit of the following:
...
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date: Tue Aug 17 18:28:12 2021 +0800
Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:12:47 2021 +1000
Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:08:59 2021 +1000
Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:10:49 2021 +1000
Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 10:41:58 2021 +1000
Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 22:02:22 2021 +1000
Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 21:59:26 2021 +1000
Trim trailing whitespace
2021-08-17 18:37:51 +08:00
Jochen Schalanda
32adeddd8f
Fix usage of javax.annotation ( #6645 )
...
* Fix usage of javax.annotation:javax.annotation-api
* Regenerate samples
```
bin/generate-samples.sh bin/configs/java-* bin/configs/jaxrs-* bin/configs/spring-* bin/configs/kotlin-* bin/configs/other/java-* bin/configs/other/jaxrs-* bin/configs/other/kotlin-* bin/configs/other/openapi3/jaxrs-cxf-client.yaml bin/configs/other/openapi3/kotlin-*
```
2020-06-14 17:01:18 +08:00
Thomas Enderle
19862f85e3
[jaxrs-reasteasy-eap] Fix invalid Bean Validation annotations for Longs ( #5659 )
...
* fix issue #5658
* update samples
2020-03-24 10:29:07 +08:00
Slavek Kabrda
5182955cca
[Java][client] make it possible to send explicit nulls for nullable fields ( #3474 )
...
* [Java][client] make it possible to send explicit nulls for nullable fields
* Regenerate samples
2019-08-16 16:26:06 +08:00
Thibault Duperron
14215ba554
Fix json polymorphism jaxRS ( #2602 )
...
* Fix json polymorphism jaxRS
Fix #2576
* Samples
2019-04-18 16:01:46 +08:00
Vincent Devos
14aacfaa63
Java RESTEASY : fix defaultValue annotation double quoted in api operation ( #2268 )
2019-03-07 16:46:09 +08:00
Jérémie Bresson
a7dfc650b6
Swagger parser update: 2.0.8-OpenAPITools.org-1 ( #1721 )
...
* Update Swagger-Parser Version
* Update samples
* surpress javadoc warning
* fix TS tests
* Set version to 2.0.8-OpenAPITools.org-1
2018-12-22 18:12:08 +08:00
Dec12 | Fujigon
7609398150
Fix the bug header bean validation is not performed ( #1661 )
...
* update template
* update template
* update samples
2018-12-15 16:37:25 +08:00
Thibault Duperron
0aec7728f9
[Java][jaxrs-resteasy] add @Valid when bean validation is enabled ( #1237 )
2018-10-23 23:58:03 +08:00
William Cheng
999f472e4b
Refactor default and example values in Java generators ( #1045 )
...
* fix default, example for java okhttp
* update java feign samples
* update samples, doc
* add new doc for dart-jaguar
* update model template
* update jaxrs spec model
* update resteasy sample
* update java samples
2018-10-07 03:56:16 +08:00
Michael Kotten
526e980a69
[JAXRS] use contextPath variable for @ApplicationPath in RestApplication ( #850 )
...
* Use contextPath variable for RestApplication templates
* Update generated RestApplication.java files, as they are skipped by default otherwise
* Update Petstore sample for jaxrs so that CIs can verify the change
2018-08-22 09:15:08 +02:00
Jérémie Bresson
7a7e221210
[Java] option for the prefix of boolean getters ( #432 )
...
* Add "booleanGetterPrefix" option
* Create `docs/migration-guide.adoc`
2018-07-03 17:00:15 +02:00
Jérémie Bresson
8de5c62cf2
Add JaxRS to bin/ensure-up-to-date ( #248 )
...
* Create bin/java-jaxrs-petstore-server-all.sh
* Run bin/java-jaxrs-petstore-server-all.sh
* Add 'bin/java-jaxrs-petstore-server-all.sh' to 'bin/ensure-up-to-date'
2018-06-09 08:54:27 +02:00
Jérémie Bresson
3f81378d72
[java resteasy] fix string comparison ( #134 )
...
* Fix StringUtils.isEmpty(..)
* Update all JaxRS samples
2018-05-23 08:38:18 +02:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
Jérémie Bresson
d5d8c356b7
Rename default packages for jaxrs generators ( #209 )
2018-04-24 06:26:42 +02:00
Jérémie Bresson
6983dcffa2
Update all jaxrs examples ( #144 )
2018-04-23 12:17:14 +02:00
wing328
3b134319fa
add java version to pom in resteasy eap java8
2017-10-09 22:51:58 +08:00
David Fischer
506c58ec74
[JaxRS] Fix response annotation generation ( fixes #2588 ) ( #6373 )
...
* [JaxRS] Fix response annotation generation (fixes #2588 )
* [JaxRS] Fix jaxrs jersey1 usetags sample provider
* Revert "[JaxRS] Fix jaxrs jersey1 usetags sample provider"
This reverts commit 73fef2e451e376b23f6c1d43d8781f0b4a0bd1f5.
* [JaxRS] Fix jaxrs jersey1 sample generator
* [JaxRS] Fix samples for jersey1 and jersey2
* [Server: Java] Fix diamond operator defaultValue for Java < 1.7
2017-08-30 00:31:56 +08:00
wing328
f999936c1d
[JAX-RS][RESTEasy] Add Petstore integration tests for RESTEasy EAP (java8) ( #6091 )
...
* add petstore integration tests for resteasy eap java8
* update circle pom.xml
2017-07-17 23:25:38 +08:00