re: How to create simple rest apis with springboot VIEW POST

VIEW FULL DISCUSSION
 

Always good to see some Java love around here 😊

Two recommendations:

  • Use @GetMapping and @PostMapping for better readability
  • use Lombok getters/setter for the entities

See dev.to/stealthmusic/modern-java-de...
😎

 

Thank you for the suggestions :)

Will read the article :)

 

BTW, Lombok is also available at start.spring.io ! Just type it in the dependencies search box.

code of conduct - report abuse