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
Elizabeth Thomas
efb337dd92
Issue 5413 - Use ConstructorBased Injection for ObjectMapper ( #5430 )
...
* Converting to constructor based injection
* Correcting spelling mistake
* Adding the bean for ObjectMapper
* Adding files modified by running the petstore scripts
* Adding final qualifier to objectMapper variable in apiController mustache
2017-04-25 23:11:18 +08:00
wing328
ee5c1b203b
fix typo: lamda -> lambda
2017-04-23 22:28:29 +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
pablograna
fb75996527
Make java spring controller constructor public. ( #4972 )
...
* Make java spring controller constructor public.
This lets users manually create the controller and inject the delegate in the
spring configuration file, instead of letting spring scan for controllers and
autowire the delegate.
* Ran spring-all-pestore.sh.
2017-03-09 23:11:44 +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
Jonathan Leitschuh
36c3fa05e0
Allows for generation of spring controller code using the delegate pattern ( #4439 )
...
* Allows for generation of spring conroller code using the decorator pattern
* Change Decorator to Delegate in spring codegen
2017-01-19 17:58:39 +08: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
cbornet
027ff93ae4
rename and remove dead code
2016-06-20 15:16:13 +02:00