Anypoint Best Practices
duplicated-entry-in-enum
general > duplicated-entry-in-enum
Guidance / Message
Enum values must be unique.
Examples
valid
types:
housingType:
type: string
enum: [apartment, studio, house]
invalid
types:
housingType:
type: string
enum: [apartment, studio, house, apartment]
Applies to ScalarShape