type\": \"array\", \"items\": { \"type\": \"string\", \"enum\": [\"MALE\",\"FEMALE\",\"WORKER\"] }
or
type\": \"array\", \"
The first case is correct and these days swagger-ui generates a multiple-choise select of the enum values.