Created
August 30, 2017 02:17
-
-
Save claymccoy/b32432c2258aeaf3034f4608b12083c1 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 addend2) { | |
return new AdditionResponse(addend, addend2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment