Created
August 30, 2017 02:18
-
-
Save claymccoy/7bb9f255f673872057a87a69e5f01f77 to your computer and use it in GitHub Desktop.
This file contains 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
@RestController | |
public final class MathController { | |
@RequestMapping("addition") | |
public AdditionResponse addition(@RequestParam int addend, @RequestParam int augend) { | |
return new AdditionResponse(addend, augend); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment