Hello.
Now it seems that swagger have problem with request object like "SomeObject book". In this case it skip field "type" in JSON and no model for request object. Also i cannot set this externaly by some parameters in annotations, because it dont have one. And if i use
@ApiImplicitParams({
@ApiImplicitParam(.....),
})
It just add additional description.
So it would be grate to work with generic request objects in REST or add type manually.