in swagger JSON, if paramType is absent, so get items.type or items["$ref"] instead.