Jonathan Leitschuh
d6f2424152
Fix spring generated controller annotations only generating for first return type ( #5399 )
...
Fixes the spring java code generator so that the ApiResponse fields are populated correctly
on the controller.
Related to #4693
2017-05-31 17:27:32 +08:00
wing328
9b68f02f83
[Java][Spring] Undo "Add examples defined in the spec to Spring MVC server generator " ( #5599 )
...
* remove unused pom.xml in go pestore
* remove example support in JavaSprin (undo changes)
2017-05-10 17:31:43 +08:00
wing328
2324e927bd
[Java][Spring] fix missing import for java.io.IOException ( #5501 )
...
* fix issue about import io exception for spring mvc
* fix spring-mvc-petstore-j8-async script, config
* update spring cloud client, restore petstore.yaml
2017-04-28 00:45:06 +08:00
wing328
42a5a13fef
[Java][Spring] Fix spring cloud client due to enhancement in adding server example responses. ( #5497 )
...
* add use spring cloud client option
* uncomment spring cloud client test
* remove scala-related tests from pom.xml for circleci
* fix mismstach tag
2017-04-27 20:00:56 +08:00
wing328
58db6a5e14
Revert "Issue#5376- changes to include swagger version in generated api files ( #5449 )" ( #5489 )
...
This reverts commit 702f193f6191a8f6d0b59f2d34292c616e7bcc4d.
2017-04-26 17:53:36 +08:00
Elizabeth Thomas
702f193f61
Issue#5376- changes to include swagger version in generated api files ( #5449 )
...
* Elizabeth - changes to include swagger version in generated api files
* Filtering version.properties in swagger codegen module
* Removing resource filtering from swagger codegen cli module
* Merging master
2017-04-25 23:28:16 +08:00
wing328
813949dd00
add lamda to clean up examples, fix spring tempalate format
2017-04-18 18:14:00 +08:00
wing328
a17e80dfb1
minor fix to spring use of examples
2017-04-18 01:42:29 +08:00
Elizabeth Thomas
ec4b3307fe
Merge pull request #1 from elizabetht/master
...
Elizabeth/Joy - adding example support if specified in the swagger spec
2017-04-13 10:02:23 -05:00
Thomas, Elizabeth-CW
02bcad36fd
Elizabeth/Joy - adding example support if specified in the swagger spec
2017-04-13 09:31:07 -05:00
dhuning
8cf0f7046e
Adds @Valid to request body for the JavaSpring ( #4850 )
...
* Adds Valid annotation for request body (#4847 )
If useBeanValidation is active, this change will add Valid annotation to ReqeustBody
* Adds generated samples for bean vaildation in spring boot (#4847 )
* Adds Valid import to Controller
* Adds generated code for bean validation change
2017-04-13 17:42:02 +08:00
dhuning
6ea3315b3e
Implicit headers for SpringCodegen ( #4858 )
...
* Add a new option implicitHeaders with default false
* Change JavaSpring templates and codegen to handle implicit headers
* Add script to generate sample for implicitHeader option
* Add generated implicitHeader sample
* Fix alignment
2017-03-07 14:54:15 +08:00
jfiala
8952815b5f
[Spring] Add beanvalidation annotations ( #4600 )
...
* update generated sample for spring boot #4091
* add beanvalidation annotations to spring #4091
* add tests for spring #4091
* cleanup spring-cloud (client lib) #4091
* update client sample spring-cloud #4091
* replace tabs
* add beanvalidation annotations to spring #4091
* add tests for spring #4091
* cleanup spring-cloud (client lib) #4091
* update client sample spring-cloud #4091
* replace tabs
* update spring-cloud sample
2017-01-26 23:45:36 +08:00
cbornet
21ec2bc866
[spring] add an option to choose the response wrapper type
...
Also generate the spring-cloud sample with a HystrixCommand wrapper
2016-10-25 15:40:51 +02:00
cbornet
12a0fd6471
fix issues in spring templates
...
Wrong indentation and extra lines in api templates
Java8 default methods are used if dateLibrary is java8
Fix #3408
2016-10-14 17:57:20 +02:00
wing328
174222390a
Merge pull request #3190 from thebignet/asyncCompletableFuture
...
using CompletableFuture instead of Callable for asynchronous controller in Spring Boot
2016-06-28 12:34:23 +08:00
Jean Detoeuf
2b22efcea9
using CompletableFuture instead of Callable for asynchronous controller
2016-06-22 09:19:21 +02:00
Jean Detoeuf
1b71076c2d
add tags with API name to java @Api annotation
2016-06-21 18:08:28 +02:00
cbornet
027ff93ae4
rename and remove dead code
2016-06-20 15:16:13 +02:00