This repository is an applicaiton that can store and fetch pitchers and thrown pitches. It's objective is to provide the basis to evaluate a pitcher's success on the mound or in the pullpen through measured pitching-data.
All @Post annotated controller methods are supposed to return a responseentity with body of the added resource and a header with the URI to the added entity.
Take a look at PitcherController.java and PitchesController.java
Spring Boot's TestRestTemplateExtensions.kt leverages the use of reifined type parameters.
Use them in acceptance tests (where we use TestResttemplate).