Adding body parameter to swagger models if it's a class

Attempt to add serializers in body parameters to swagger models.