OpenAPI CastAndValidate: filter out empty params