Adds support for models and body param type

hi there, I added support for build model scheme for 1xN or 1x1 relationships, using body and array specification for swagger