wkennedy / swagger4spring-web

Swagger support for Spring MVC
89 stars 46 forks source link

Support for wrapping types (like ResponseEntity) #31

Closed szpak closed 10 years ago

szpak commented 10 years ago

Spring MVC gives an ability to modify response headers with ResponseEntity. Currently swagger4spring-web document response type as ResponseEntity. It would more desirable to use wrapping type.

As a possible solution I could reference swagger-springmvc.

szpak commented 10 years ago

I have to check response and responseContainer. Maybe they can handle it.

A good idea as always just after send a question :)

szpak commented 10 years ago

response works fine in that case. Closing.