Using items->$ref instead of item->type as per swagger 1.2 spec for return model.