diff --git a/generate/property.go b/generate/property.go index 74bb587f61..e314c096a8 100644 --- a/generate/property.go +++ b/generate/property.go @@ -204,7 +204,6 @@ func (p Property) HasValidType() bool { // IsPolymorphic checks whether a property can be multiple different types func (p Property) IsPolymorphic() bool { return len(p.PrimitiveTypes) > 0 || - len(p.PrimitiveItemTypes) > 0 || len(p.PrimitiveItemTypes) > 0 || len(p.ItemTypes) > 0 || len(p.Types) > 0 ||