Adds support for models and body param type
Fixes specs