xhh
2c6c902878
Merge branch 'master' into auto-generate-operation-id
...
Conflicts:
modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/api.mustache
2015-11-30 21:05:47 +08:00
xhh
801efaa3d4
Replace "nickname" with "operationId" in some API templates
2015-11-25 18:13:39 +08:00
xhh
76fe8357ce
Add "equals" and "hashCode" methods to Java servers
...
for "jaxrs" and "spring-mvc"
2015-11-24 15:46:42 +08:00
rostskadat
730202deb2
Added @RequestBody annotation in order for the generated code to
...
properly create API Model object.
@RequestBody Annotation Ref:
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-requestbody
2015-11-08 17:24:22 +01:00
Tony Tam
dd3b253e15
updated versions
2015-10-25 19:31:36 -07:00
Nick Bruno
6477a27579
Update SpringMVC template to include Authorization annotations
2015-10-16 21:24:17 -04:00
wing328
27e434d786
Merge pull request #1239 from ePaul/feature/use-baseName-for-jsonproperty
...
Use the swagger property names in all Java models.
2015-09-17 14:43:21 +08:00
Paul Ebermann
7eec769654
Use the swagger property names in all Java models.
...
This changes `@JsonProperty({{name}})` to `@JsonProperty({{baseName}})` in model.mustache for JavaInflector, JavaJaxRS and JavaSpringMVC.
In pull request #535 this was already done for the plain Java files (which get used on client side).
This replaces the sanitized names in the generated code by the original property names from the swagger document.
2015-09-16 11:36:51 +02:00
wing328
2ac41ff080
repalced hard-coded fileDetail with {{baseName}}
2015-09-15 22:14:13 +08:00
Tony Tam
a6a9d743be
added template
2015-08-23 14:23:20 -07:00
Tony Tam
414de00894
fixed return type, rebuilt
2015-08-23 14:23:00 -07:00
russellb337
38fccbd73d
add @Generated to all Java class templates
2015-08-11 12:42:18 -07:00
russellb337
6fbb8ab1e0
add @Generated annotation to all Java class templates
2015-08-11 12:42:06 -07:00
Dilip Krishnan
7cc9581f04
Updated the mustache template to remove the spurious import
...
Also regenerated the spring-mvc server sample
2015-07-12 20:56:36 -05:00
Dilip Krishnan
9283249963
Updated the swagger-codegen sample for generating the service side stubs
...
for spring mvc using springfox implementation
2015-07-12 20:56:31 -05:00
wing328
d155ddd026
rollback java spring mvc template
2015-06-09 13:15:03 +08:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
Tony Tam
6c57810128
rebuilt
2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4
updated packages
2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744
updated package
2015-06-06 23:43:34 -07:00
Tony Tam
515f5440a1
merged
2015-05-20 22:37:51 -07:00
Fake Bob Dobbs
a55c03013d
use the defaultValue for spring mvc RequestHeader annotations; carry over the required value if set for RequestPart annotations
2015-05-19 11:47:34 -04:00
Fake Bob Dobbs
e4f5243e54
add defaultValues value to the SpringMVC RequestParam annotation
2015-05-15 17:17:46 -04:00
Fake Bob Dobbs
321dfb7311
For SpringMVC, RequestHeader annotations are not setting the required attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param
2015-05-06 09:05:57 -04:00
Blazej Marcinkiewicz
465266e219
Updated Java Spring MVC query param generation to include 'required' parameter if it's available.
2015-04-22 11:52:46 +02:00
Tony Tam
1b4367ffba
updated readme
2015-04-05 13:50:49 -07:00
Tony Tam
27c7e69fba
updated templates
2015-04-05 13:42:20 -07:00
Tony Tam
a0c9296ee8
name rebuilds, tests
2015-04-04 20:04:10 -07:00
Tony Tam
0c2e464c71
updated jetty version
2015-04-04 17:49:36 -07:00
Tony Tam
f0e41bf43e
template updates
2015-04-04 16:28:43 -07:00
Tony Tam
02fd96a24a
added spring-mvc sample
2015-04-04 13:46:35 -07:00
Tony Tam
568ca26747
renamed folder
2015-04-04 11:53:02 -07:00