Skip to content

Commit

Permalink
fix(generate): remove duplicated line
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfonseca committed Apr 25, 2022
1 parent d5e468f commit a18d04c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generate/property.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down

0 comments on commit a18d04c

Please sign in to comment.