Add a parametrizable option which let to use directly a "final" object/array/type if the Request Body OR Response OR Parameter has only 1 item (or 1 item as array).
EDIT: Check if this situation happens (is common when you accidentally create an extra unnnecessary parent level)