Spring Boot RestController中的Annotation @Valid始终返回状态码200正如M.代努姆在评论中,我使用的依赖与...
After a couple of minutes speed reading about Spring annotations, I'm finally ready to run the code (go tocomplete/then./gradlew bootRun) Gradle does the job, a Spring initialization log shows up on the terminal and I fire up my browser.localhost:8080/greetingresponds with{"id":1,"conten...