swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

Returning void #89

Open cretz opened 8 years ago

cretz commented 8 years ago

By default the ApiOperation annotation should return void but in Play 2.4+ it returns ActionAnyContent basically. For some reason the test at https://github.com/swagger-api/swagger-play/blob/dd34a936357923978332838bef70d5e18f854f18/play-2.3/swagger-play2/test/PlayApiReaderSpec.scala#L325 was removed for 2.4. Any reason why?

cretz commented 8 years ago

Note, this may also be related to http://stackoverflow.com/questions/37679534/how-do-i-can-hide-the-schema-model-in-swagger/38127926