I'm looking for a way to have multiple routes in my ASP.NET Core which differ by a certain header. I found this question which answers the same question BUT for a controllers-based API: Header based routing in ASP.NET Core
I'm looking for the same thing, but for a Minimal APIs. I found this (https://learn.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-8.0#route-constraints) describing custom route constraints, but I don't really care about any parameters (my path actually doesn't have any) so I don't know how to use it.
Startupceremony - but now it's a meaningless buzzword because using "Minimal API" does nothing to help prevent projects of nontrivial complexity ending up as a hot mess after spending 5-6 years in prod, or worse: handing it off to a 1st-year intern)