Using @RestController with URL mappings in Spring Boot
Using @GetMapping and other URL mappings in Spring Boot problem You’re learning Spring Boot and wish to add one or more URL mappings to your web application. Mappings that will map incoming HTTP requests to the backend logic of your application. In this post we will see how to create a REST controller that accepts […]
Parsing polymorphic models in Spring boot
Parsing polymorphic models in Spring boot problem You wish to build a web application that will be accepting HTTP POST requests with JSON objects in their request body to be parsed into your Java models. On top of that, the models will be using enums and inheritance. SOLUTION Spring boot to the rescue. Using IntelliJ […]