There is a type mismatch in VeggieController.java.
The field "id" is defined with String in Veggie.java, while a parameter in methods "deleteVeggie" and "getVeggieById" is defined with Long. If this mismatch is not fixed, both methods always return 400 (Bad request).
There is a type mismatch in VeggieController.java. The field "id" is defined with String in Veggie.java, while a parameter in methods "deleteVeggie" and "getVeggieById" is defined with Long. If this mismatch is not fixed, both methods always return 400 (Bad request).