diff --git a/src/main/java/org/sadtech/example/springvalidation/controller/PersonControllerGroupValid.java b/src/main/java/org/sadtech/example/springvalidation/controller/PersonControllerGroupValid.java index 12b2256..0c7bcd3 100644 --- a/src/main/java/org/sadtech/example/springvalidation/controller/PersonControllerGroupValid.java +++ b/src/main/java/org/sadtech/example/springvalidation/controller/PersonControllerGroupValid.java @@ -1,5 +1,6 @@ package org.sadtech.example.springvalidation.controller; +import io.swagger.v3.oas.annotations.tags.Tag; import org.sadtech.example.springvalidation.dto.PersonDto; import org.sadtech.example.springvalidation.valid.Marker; import org.springframework.http.ResponseEntity; @@ -11,11 +12,11 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.validation.Valid; -import javax.validation.groups.Default; @Validated @RestController @RequestMapping("/api/group-valid/person") +@Tag(name = "Группы валидаций") public class PersonControllerGroupValid { @PostMapping