Swagger Optional Parameter Not Working, It's not necessary to explicitly apply the [FromServices] attribute to a parameter.