We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca20b2 commit 8b892c9Copy full SHA for 8b892c9
src/TesterApp/Controllers/Api/v1/Users/GetController.cs
@@ -7,7 +7,7 @@
7
8
namespace TesterApp.Controllers.Api.v1.Users;
9
10
-[Get("/api/v1/users/{id}")]
+[Get("/api/v1/users/{id:int}")]
11
[ApiVersion("1.0")]
12
[ProducesResponse(StatusCodes.Status200OK, typeof(UserViewModel), "application/json")]
13
[ProducesResponse(StatusCodes.Status500InternalServerError)]
0 commit comments