OpenApi: Eliminate setRequiredIfNotEmpty method