File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
src/main/java/eatda/controller Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1212import lombok .RequiredArgsConstructor ;
1313import org .springframework .http .HttpStatus ;
1414import org .springframework .http .ResponseEntity ;
15+ import org .springframework .validation .annotation .Validated ;
1516import org .springframework .web .bind .annotation .GetMapping ;
1617import org .springframework .web .bind .annotation .PathVariable ;
1718import org .springframework .web .bind .annotation .PostMapping ;
2021import org .springframework .web .bind .annotation .RestController ;
2122import org .springframework .web .multipart .MultipartFile ;
2223
24+ @ Validated
2325@ RestController
2426@ RequiredArgsConstructor
2527public class CheerController {
Original file line number Diff line number Diff line change 1010import java .util .List ;
1111import lombok .RequiredArgsConstructor ;
1212import org .springframework .http .ResponseEntity ;
13+ import org .springframework .validation .annotation .Validated ;
1314import org .springframework .web .bind .annotation .GetMapping ;
1415import org .springframework .web .bind .annotation .PathVariable ;
1516import org .springframework .web .bind .annotation .RequestParam ;
1617import org .springframework .web .bind .annotation .RestController ;
1718
19+ @ Validated
1820@ RestController
1921@ RequiredArgsConstructor
2022public class StoreController {
Original file line number Diff line number Diff line change 1212import lombok .RequiredArgsConstructor ;
1313import org .springframework .http .HttpStatus ;
1414import org .springframework .http .ResponseEntity ;
15+ import org .springframework .validation .annotation .Validated ;
1516import org .springframework .web .bind .annotation .GetMapping ;
1617import org .springframework .web .bind .annotation .PathVariable ;
1718import org .springframework .web .bind .annotation .PostMapping ;
2021import org .springframework .web .bind .annotation .RestController ;
2122import org .springframework .web .multipart .MultipartFile ;
2223
24+ @ Validated
2325@ RestController
2426@ RequiredArgsConstructor
2527public class StoryController {
You can’t perform that action at this time.
0 commit comments