I found that if my endpoint uses method Get with [FromQuery] then the input value is parsed incorrectly. Check my image below
My endpoint received the request
the GetRecruitmentsRequest definition
As you can see, the Language field got the value "avanced", it was supposed to receive "advanced" though
I had met this issue before, however instead of facing it, I worked around by changing the method to Post and it worked. I guess this is a bug of .Net 6 (I am using this version) yet I haven't found any post about it