An empty string is accepted for an enum. The most appropriate solution would be to silently reject the empty string. I’ve managed to pass this value, along with another valid string, as an array of Scientific Domains for an Organisation (by accident) and it was accepted (on post, “” was sent 7 times, along with “planning and scheduling”). This happened on a fresh and clean local installation of the API. I confirmed by simply doing this afterwards:
An empty string is accepted for an enum. The most appropriate solution would be to silently reject the empty string. I’ve managed to pass this value, along with another valid string, as an array of Scientific Domains for an Organisation (by accident) and it was accepted (on post, “” was sent 7 times, along with “planning and scheduling”). This happened on a fresh and clean local installation of the API. I confirmed by simply doing this afterwards: