diff --git a/pom.xml b/pom.xml
index ce4727f..44fe8df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.7.8
+ 3.0.2
@@ -26,15 +26,10 @@
spring-boot-starter-web
-
- io.swagger.core.v3
- swagger-annotations
- 2.2.8
-
org.springdoc
- springdoc-openapi-ui
- 1.6.14
+ springdoc-openapi-starter-webmvc-ui
+ 2.0.2
diff --git a/src/main/java/org/sadtech/example/swagger/controller/PointController.java b/src/main/java/org/sadtech/example/swagger/controller/PointController.java
index f4fda73..2a30076 100644
--- a/src/main/java/org/sadtech/example/swagger/controller/PointController.java
+++ b/src/main/java/org/sadtech/example/swagger/controller/PointController.java
@@ -3,6 +3,8 @@ package org.sadtech.example.swagger.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
+import jakarta.validation.constraints.Min;
+import jakarta.validation.constraints.NotBlank;
import org.sadtech.example.swagger.dto.TypeOperation;
import org.sadtech.example.swagger.dto.UserDto;
import org.springframework.http.HttpStatus;
@@ -13,8 +15,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;
-import javax.validation.constraints.Min;
-import javax.validation.constraints.NotBlank;
import java.util.Map;
/**