Last active
May 11, 2019 11:02
-
-
Save ktutnik/8fcd3c3b93ef9e2582bf7f3b1fb8a56d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class TodoController { | |
@put('/todos/{id}') | |
async replaceTodo( | |
@param.path.number('id') id: number, | |
@requestBody() todo: Todo): Promise<boolean> { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment