Simon Sprünker
f00a1ef52c
[JAVA] Fix #7734 : Correct consumes/produces attributes for Spring Controllers ( #7760 )
...
* fix #7734 : Correct consumes/produces attributes for Spring Controllers
* fix #7734 : Update petstore
2018-03-08 22:56:43 +08:00
wing328
cf21ac0327
update spring petstore samples
2018-01-29 01:38:13 +08:00
wing328
73c338be58
Merge remote-tracking branch 'origin/master' into 2.4.0
2018-01-13 15:54:41 +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
Mehdi Jouan
c7f12d6c2d
[Spring][Java] fix support of long values for @Max and @Min annotations ( #7227 )
...
* add support of long values for @Max and @Min annotations
* run shell scripts for java and spring
* fix import issue after running shell script
2018-01-08 00:22:06 +08:00
wing328
1d44bb8141
update spring petstore samples
2017-12-15 00:02:43 +08:00
wing328
55410a3d4a
update spring petstore sample
2017-11-27 22:12:46 +08:00
Kenny Jones
63fce58931
[Java][Spring] Resolve serialization warning from RFC3339DateFormat ( #6960 )
...
Adds `serialVersionUID` to RFC3339DateFormat.java to avoid Java warning.
2017-11-21 12:14:02 +08:00
Christophe Bornet
fe2ed67f20
Remove Accept request header from api signature ( #6704 )
...
* Remove Accept request header from api signature
* Inject HttpServletRequest to get request header and clean templates
* Use constructor injection for HttpServletRequest
* Implement example in default controller responses
2017-10-27 22:45:30 +08:00
wing328
6814530d69
fix enum in path parameter (spring) ( #6810 )
2017-10-25 22:30:36 +08:00
Will Neild
e4abddf253
Fix spring api operation annotation ( #6700 )
...
* * Fix apioperation annotation using generics in class reference for spring server generation
* * Regenerate classes for new spring template
2017-10-18 16:38:12 +08:00
Elias Ovchynnikov
3f7f6b8599
Add operationId as nickname to @ApiOperation ( #6688 )
...
* Add operationId as nickname to @ApiOperation
* Refresh samples after adding nicknames to @ApiOperation
2017-10-16 10:18:32 +08:00
wing328
d054a43b65
update java server samples
2017-10-09 23:00:44 +08:00
stevecookform3
adfe4b6e6c
add @Valid/@Validated annotations to controller methods/nested models ( #6254 )
...
* add @Valid/@Validated annotations to controller methods and nested models
* update spring samples
2017-08-11 08:44:51 +08:00
wing328
c05db535e1
Merge branch 'issue-3371' of https://github.com/gcernier-amadeus/swagger-codegen into gcernier-amadeus-issue-3371b
2017-08-08 15:31:52 +08:00
Chandan Singh
1c4e77585f
Issue 6172 ( #6173 )
...
* Changes to allow field names as examples for string properties and multiple items in array during example generation
* Reverting the version to 2.3.0-SNAPSHOT and autogenerated petstore files
2017-08-02 17:59:54 +08:00
wing328
92b129708d
update spring samples
2017-08-02 16:43:54 +08:00
wing328
25a46374c5
Updated Spring, Boot, Fox and Cloud dependencies ( #5969 )
...
* updated Spring, Boot, Fox and Cloud dependencies
* run scripts for java, jaxrs-cxf and spring samples (although changes are not related to my changes)
* update jersey java8 petstore samples
* update java feign samples
* update java petstore samples
* add new files for java petstore clients
* roll back spring cloud dep version
* fix jaxrs-cxf error
2017-07-03 18:44:22 +08:00
wing328
afd535f415
rollback to 2.6.4 for jackson threetenbp in springmvc
2017-07-01 23:46:31 +08:00
wing328
8d31e57e2a
fix spring dep version
2017-07-01 22:22:02 +08:00
wing328
9269dac6cf
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-07-01 15:47:27 +08:00
Dennis Kieselhorst
407d728908
updated Spring and Spring Boot dependencies ( #5948 )
2017-06-29 22:28:08 +08:00
Dennis Kieselhorst
a64c7d7986
updated jackson-version ( #5943 )
2017-06-29 10:56:12 +08:00
Dennis Kieselhorst
e3da4f9fde
updated maven-war-plugin ( #5941 )
2017-06-29 00:14:16 +08:00
wing328
fee54157c0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-15 17:14:39 +08:00
wing328
e58342bacb
udpate spring samples
2017-06-15 14:33:16 +08:00
Elizabeth Thomas
b752c0a030
Adding the generator version template to api mustache file ( #5691 )
2017-06-15 13:59:42 +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
12bcb18e9e
Merge branch 'java-spring-throw-exceptions-#5686' of https://github.com/stevecookform3/swagger-codegen into stevecookform3-java-spring-throw-exceptions
2017-06-11 17:30:53 +08:00
wing328
f163fdb980
update spring samples
2017-06-11 15:39:08 +08:00
wing328
98684d872c
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-06-01 07:10:03 +08:00
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
stevecookform3
b185d03a1b
update Spring petstore examples
2017-05-31 09:48:34 +01:00
wing328
e1e5ac4d37
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-17 22:00:06 +08:00
wing328
0a67696de8
Merge branch 'empty_classes' of https://github.com/bbdouglas/swagger-codegen into bbdouglas-empty_classes
2017-05-16 17:51:42 +08:00
Elizabeth Thomas
41cfcc6f23
Marking Accept as an optional header ( #5622 )
...
* Making Accept Header as not required by default
* Adding the auto-generated spring mvc petstore sample controllers
2017-05-16 16:30:11 +08:00
wing328
b8715fc4a5
add back example support to java spring (breaking changes) ( #5606 )
2017-05-10 23:31:25 +08:00
wing328
45ff39c237
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-10 18:04:49 +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
2ac169c750
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-28 02:03:42 +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
7b57dd0c04
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-27 21:18:52 +08:00
wing328
3c9b495eb1
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-27 21:16:16 +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
wing328
f4d78079de
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-25 23:34:45 +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
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
3ef7694b9f
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-25 21:39:17 +08:00
wing328
4067986e1c
update spring mvc samples
2017-04-24 00:06:42 +08:00
wing328
f7cbb2c0e6
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-23 15:26:15 +08:00