Skip to content

Commit 8b892c9

Browse files
committed
[edit] change to int
1 parent eca20b2 commit 8b892c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TesterApp/Controllers/Api/v1/Users/GetController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace TesterApp.Controllers.Api.v1.Users;
99

10-
[Get("/api/v1/users/{id}")]
10+
[Get("/api/v1/users/{id:int}")]
1111
[ApiVersion("1.0")]
1212
[ProducesResponse(StatusCodes.Status200OK, typeof(UserViewModel), "application/json")]
1313
[ProducesResponse(StatusCodes.Status500InternalServerError)]

0 commit comments

Comments
 (0)