roboswag
roboswag copied to clipboard
Pass either model object or dictionary to the body parameter
At this moment, the body
parameter only accepts dictionary, which can be optionally validated by providing a boolean value for validate_payload
parameter. The endpoint methods should also accept providing the payload using an object that later can be serialized into a dictionary.