You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Contains("Body was inferred but the method does not allow inferred body parameters.",ex.Message);
213
215
Assert.Contains("Did you mean to register the \"Body (Inferred)\" parameter(s) as a Service or apply the [FromServices] or [FromBody] attribute?",ex.Message);
214
216
}
@@ -217,7 +219,9 @@ public void MapGet_ThrowsWithImplicitFromBody()
Assert.Contains("Body was inferred but the method does not allow inferred body parameters.",ex.Message);
222
226
Assert.Contains("Did you mean to register the \"Body (Inferred)\" parameter(s) as a Service or apply the [FromServices] or [FromBody] attribute?",ex.Message);
223
227
}
@@ -243,7 +247,9 @@ public static object[][] NonImplicitFromBodyMethods
Assert.Contains("Body was inferred but the method does not allow inferred body parameters.",ex.Message);
248
254
Assert.Contains("Did you mean to register the \"Body (Inferred)\" parameter(s) as a Service or apply the [FromServices] or [FromBody] attribute?",ex.Message);
249
255
}
@@ -581,7 +587,9 @@ public async Task MapVerbWithRouteParameterDoesNotFallbackToQuery(Func<IEndpoint
0 commit comments