Created
August 30, 2017 02:16
-
-
Save claymccoy/027c06a62ad20c7ae2e9cea225aa84fa 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("add") | |
public AdditionResponse addition(@RequestParam int addend, @RequestParam int addend2) { | |
return new AdditionResponse(addend, addend2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment