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 e77a218 commit 15dd511Copy full SHA for 15dd511
README.md
@@ -59,7 +59,7 @@ import {
59
class UserHttpService {
60
@GetExchange('/users/{id}') // path
61
@ResponseBody(UserResponse) // response dto
62
- async request(@PathVariable() id: number): Promise<UserResponse> {
+ async request(@PathVariable('id') id: number): Promise<UserResponse> {
63
return imitation(id); // this is a mock function to prevent the type error
64
}
65
0 commit comments