ASP Minimal API Deserializor - allow Fields

DDeaDo10/5/2022
app.MapPost("/update", ((int[] cities, double distance) newBest) =>

I want my minimal api to be able to deserialize that tuple. The System.Test cant do that by default though. Typically i fix that with those serializor options, but i dont know how to provide my settings for the minimal api
var serializerOptions = new JsonSerializerOptions { IncludeFields = true };
UUUnknown User10/5/2022
Message Not Public
Sign In & Join Server To View
DDeaDo10/5/2022
thanks