in swagger JSON, if paramType = body, and there is "items" - parameter type is absent, so get items.type instead.