When using only attribute routing in an ASP.NET Core 5.0 app, for example, with the following in Startup:
Startup
app.UseEndpoints(endpoints => { endp