etondoze
d1a296412e
Upgraded swagger-parser and swagger-core versions ( #7497 )
2018-01-25 21:35:11 +08:00
William Cheng
8aef689d1b
[Java] allow setting boolean getter (is, has, get) in templates ( #7344 )
...
* allow setting java boolean getter (is, has, get) in templates
* update msf4j boolean getter
* update jaxrs-spec boolean handler
* update jaxrs boolean getter
* update reasteasy, spring, cxf boolean getter
* update inflector boolean getter
* update java play boolean getter
* update java boolean getter
* update spring samples
2018-01-13 15:19:02 +08:00
Aleksandr Nekrasov
643ef64f04
resteasy support javax injection instead of static delegate factory ( #5272 )
...
* resteasy support javax injection instead of static delegate factory
* fixed resteasy joda example
2017-12-12 00:35:51 +08:00
wing328
d054a43b65
update java server samples
2017-10-09 23:00:44 +08: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
mobreza
b433afebdd
withXml replaces useJaxbAnnotations ( #6152 )
...
* Regenerated bin/jaxrs-*
* Replace `useJaxbAnnotations` with `withXml`
2017-08-03 15:35:33 +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
Ian O'Neill
dc800c79cc
[JaxrsResteasy] Fix EAP dependencies for Java 8 ( #6058 )
...
* Depend on Joda by default, like the default JAX-RS server
* If Java 8 is specified add Jackson JSR-310 dependency and import
in the JacksonConfig.
2017-07-17 21:44:51 +08:00
wing328
9269dac6cf
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-07-01 15:47:27 +08:00
Dennis Kieselhorst
e3da4f9fde
updated maven-war-plugin ( #5941 )
2017-06-29 00:14:16 +08:00
Tony Tam
1e2465735b
[2.3.0] Update Swagger Codegen to v1.5.15 ( #5929 )
...
* updated versions
* match fix in 2.2.x branch
* updated with 73df07d64c
* regenerate pom.xml for jaxrs-cxf-petstore-server-annotated-base-path
* regenerate pom.xml for jaxrs-cxf-petstore-server-non-spring-application
2017-06-28 00:13:52 +08:00
Tony Tam
9286e26162
updated versions
2017-06-16 11:49:32 -07:00
wing328
fee54157c0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-15 17:14:39 +08:00
Paŭlo Ebermann
4b9988c4f2
Update samples for several language (just whitespace changes, reordering, VERSION) ( #5828 )
...
* Update samples for several languages.
Just whitespace changes and some reordering where the order doesn't matter.
* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
wing328
ad2552ace6
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-04 15:27:17 +08:00
Ian O'Neill
f303183b44
[JaxrsResteasy] Fix JacksonConfig package and RestApplication imports ( #5302 ) ( #5303 )
...
This is for the EAP version specifically.
* The JacksonConfig class always used the io.swagger.api package
* The RestApplication class did not import the service implementations
from the correct package
* Added shell script for generating test applications
2017-04-04 00:43:40 +08:00
wing328
f4d1261522
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-27 16:05:44 +08:00
Paŭlo Ebermann
a505822b86
Update samples for JaxRS/RestEasy/Joda. ( #5205 )
2017-03-27 14:28:06 +08:00
wing328
8aceed7557
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-23 18:26:07 +08:00
wing328
8fbe82a66b
replace tab with 4 spaces ( #5174 )
2017-03-23 17:18:01 +08:00
Paul Ebermann
5bb0f7a933
Update all samples.
2017-03-15 18:25:40 +01:00
Paŭlo Ebermann
9be178b26a
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-13 21:42:41 +01:00
Tony Tam
40da4769b0
rebuilt
2017-03-01 10:01:50 -05:00
jfiala
de727d7d60
[JaxrsResteasy] Improvements for Resteasy for Jboss EAP 4512 ( #4712 )
...
* add language for resteasy eap #4512
* first implementation of jaxrs-resteasy-eap #4512
* add support for joda and java8 datetime types #4512
* add new file JacksonConfig and new sample eap-joda #4512
* add dynamic swagger support to jaxrs-resteasy-eap #4512
* adapt readme for eap #4512
* add tests for jaxrs-resteasy-eap #4512
* cleanup tabs #4512
* cleanup tabs #4512
* cleanup tabs #4512
* cleanup tabs / regenerate without joda #4512
* regenerate with updated templates #4512
* fix test (wrong setter invoked) #4512
* fix test #4512
* fix no invocation #4512
* replace tabs with spaces #4512
2017-03-01 00:20:35 +08:00
wing328
acd10318f7
Merge remote-tracking branch 'origin' into sync_master_230
2017-02-10 23:31:36 +08:00
wing328
509a156879
Merge branch 'jaxrs_beanval_final_4091' of https://github.com/jfiala/swagger-codegen into jfiala-jaxrs_beanval_final_4091
2017-02-06 15:13:03 +08:00
wing328
658b650285
Merge branch 'master' of https://github.com/karnik/swagger-codegen into karnik-master
2017-01-26 16:30:51 +08:00
Johannes Fiala
c0bea5ead9
move beanvalidation code to AbstractJavaJAXRSServerCodegen.java #4091
2017-01-23 21:18:01 +01:00
jfiala
6f4e82dc03
[Jaxrs-Resteasy] Add beanvalidation annotations ( #4506 )
...
* add beanvalidation to jaxrs-resteasy #4091
* replace tabs
2017-01-19 17:45:17 +08:00
William Cheng
ce899e3776
Merge remote-tracking branch 'origin/master' into 2.3.0
...
Conflicts:
appveyor.yml
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractJavaCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SpringCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/TypeScriptAngular2ClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache
modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
modules/swagger-codegen/src/main/resources/TypeScript-Fetch/api.mustache
modules/swagger-codegen/src/main/resources/go/api.mustache
modules/swagger-codegen/src/main/resources/objc/api-body.mustache
modules/swagger-codegen/src/main/resources/objc/api-header.mustache
modules/swagger-codegen/src/main/resources/typescript-angular2/configuration.mustache
modules/swagger-codegen/src/main/resources/typescript-angular2/tsconfig.mustache
modules/swagger-codegen/src/test/java/io/swagger/codegen/swift/SwiftModelTest.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/swift3/Swift3ModelTest.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/typescript/typescriptangular2/TypeScriptAngular2ModelTest.java
samples/client/petstore-security-test/typescript-angular2/configuration.ts
samples/client/petstore/go/go-petstore/docs/FakeApi.md
samples/client/petstore/go/go-petstore/fake_api.go
samples/client/petstore/go/go-petstore/pet_api.go
samples/client/petstore/java/feign/pom.xml
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/jersey1/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/RFC3339DateFormat.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/Animal.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/EnumTest.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/FormatTest.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/JSON.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h
samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.m
samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.m
samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m
samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h
samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h
samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONResponseSerializer.h
samples/client/petstore/qt5cpp/client/SWGPetApi.h
samples/client/petstore/qt5cpp/client/SWGStoreApi.h
samples/client/petstore/qt5cpp/client/SWGUserApi.h
samples/client/petstore/typescript-angular2/default/configuration.ts
samples/client/petstore/typescript-angular2/npm/README.md
samples/client/petstore/typescript-angular2/npm/configuration.ts
samples/client/petstore/typescript-angular2/npm/package.json
samples/client/petstore/typescript-angular2/npm/tsconfig.json
samples/client/petstore/typescript-fetch/builds/default/api.ts
samples/client/petstore/typescript-fetch/builds/es6-target/api.ts
samples/client/petstore/typescript-fetch/builds/with-npm-version/api.ts
samples/client/petstore/typescript-fetch/tests/default/test/PetApiFactory.ts
samples/client/petstore/typescript-fetch/tests/default/test/StoreApiFactory.ts
samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/api/PetApi.java
samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/api/PetApiService.java
samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/model/User.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApi.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApiController.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/FakeApi.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/FakeApiController.java
2017-01-05 17:44:39 +08:00
mkarnik
45002ec1fd
[JAX-RS RESTEasy][issue #4447 ] Updated RESTEasy petstore samples
2016-12-23 10:37:17 +01:00
wing328
88227e08e3
Remove Apache license from server stub generators ( #4200 )
...
* remove php apache license
* remove license in sample code, update nodejs to use unlicnese
* remove license from jaxrs generator
* remove license from server generator
* update pom.xml for jaxrs resteasy joda server
2016-11-17 00:37:21 +08:00
wing328
a73ad79b9b
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-11 11:52:26 +08:00
wing328
d921a2b0c5
Merge branch 'resteasy_dates' of https://github.com/cbornet/swagger-codegen into cbornet-resteasy_dates
2016-10-11 00:51:34 +08:00
Jonathan Leitschuh
40610373f6
Update JavaJaxRS/resteasy/api.mustache to have swagger annotations ( #3924 )
...
* Update JavaJaxRS/resteasy/api.mustache to have swagger annotations
The annotations should now appear on generated resteasy API classes.
* Re-generate resteasy petstore sample
* Add swagger-annotations to rest-easy samples as a dependency
* Regenerat pom.xml and build.gradle files for resteasy
2016-10-06 13:18:50 +08:00
wing328
ec25bd793f
[Java] Remove duplicated model description in Spring, JAX-RS models ( #3887 )
...
* fix duplicated description in spring model
* fix duplicated description in jaxrs models
* fix resteasy dependency
2016-09-28 19:34:38 +08:00
cbornet
b7f2b28534
[resteasy] configure jackson to use rfc3339 dates
2016-09-14 17:37:04 +02:00
Nekrasov Aleksander
91675c97e2
Fix resteasy offsetdatetime provier ( #3332 )
...
* Fix offsetDateTime and remove unnecessary override annotations
* Update petstore samples to CI for resteasy testing
* fix resteasy templates path
* add ability to hide generated annotations
* Update petstore resteasy samples
* Deduplicate artifact names in resteasy projects
2016-08-15 23:46:52 +08:00
wing328
386d41db7f
fix duplciated artifact id
2016-07-01 21:56:11 +08:00
wing328
c9d2bb8a96
add test for jaxrs resteasy joda
2016-07-01 21:40:34 +08:00
cbornet
6c5def6936
fix missing java client library files
2016-06-20 10:32:02 +02:00
wing328
6e8a19bc5b
fix enum for jaxrs and resteasy
2016-05-03 11:20:45 +08:00
wing328
ebab222c63
add new file for jaxrs resteasy
2016-04-22 19:56:01 +08:00
wing328
7419d8634b
update jaxrs and jaxrs-resteasy petstore sample
2016-04-22 19:34:48 +08:00
wing328
a63dbeb4c8
fix bug related to api, model doc for java server generator
2016-04-22 17:05:22 +08:00
wing328
b58ed4822d
add new file in jaxrs resteasy
2016-04-15 20:29:30 +08:00
wing328
400cc9e6f9
update sample for jaxrs
2016-04-15 18:18:18 +08:00
wing328
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
c746082171
update jaxrs sample
2016-03-16 14:28:13 +08:00