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
Paŭlo Ebermann
0dab200f28
Update spring samples with current code. ( #4874 )
...
* Update spring samples with current code.
This is done so I can see my own changes better.
* Regenerate samples after 2.2.2.
2017-03-03 16:34:07 +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
wing328
cde24f1113
Merge pull request #4189 from cbornet/spring_cloud_operations
...
[Spring] Use tag operation grouping for spring-cloud
2016-11-18 16:51:36 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
cbornet
4a196a9187
[Spring] Use tag operation grouping for spring-cloud
...
Instead of basepath based grouping that is used by Spring boot/MVC
2016-11-15 18:46:48 +01:00
wing328
4eb75f8088
add back setter to spring model (readonly attr)
2016-11-02 15:40:00 +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
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
wing328
fa12cd3787
Replace ^M with new line (\r) in mustache template ( #3865 )
...
* fix jaxrs line break
* fix java gradle bat line break
* fix scala gradle line break
* fix undertow crt line break
* fix spring line break
* fix undertow line break in pom
* rollback undertwo petstore to use petstore.yaml
2016-09-26 16:49:44 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
wing328
4e20bd9bab
[Java][Spring][Inflector][Jax-RS] To fix various enum issues ( #3615 )
...
* fix spring enum deserialization issue
* fix enum class for spring
* update java inflector to fix enum tostring
* fix jaxrs jersey1 enum toString
* fix jaxrs jersey patch issue
2016-08-20 17:54:45 +08:00
Kevin Chabreck
64e03422c0
[Spring Boot] use port defined in spec file for server.port value ( #3605 )
...
* uncommented server.port property in application.mustache template and set it to serverPort value parsed from spec file
* update Petstore sample for Spring MVC and Boot
2016-08-19 17:29:36 +08:00
wing328
0547f0d6d8
fix spring enum model
2016-08-03 16:38:02 +08:00
Peter Szanto
9cc4e1fee0
updated readme.md
2016-08-01 15:16:00 +02:00
cbornet
426cc6b6b4
better enums and dependency update
2016-06-21 16:19:37 +02:00
cbornet
1062fa467e
fix issues
2016-06-20 15:13:17 +02:00
cbornet
1836062e6f
don't put RequestMapping on the interface
...
as Spring-MVC will automatically consider it as a controller which is not necessarily the case (eg. for a spring-cloud FeignClient)
2016-06-06 14:40:11 +02:00
cbornet
556f529933
add option to use single content-type produces/consumes
2016-06-06 11:45:07 +02:00
cbornet
3b37584c1f
update README
2016-06-03 16:21:37 +02:00
cbornet
fe8b0cf07b
add option to only generate stubs of the API and no server files
...
Fix #3025
2016-06-03 16:21:37 +02:00