diff --git a/hawkbit-rest/hawkbit-ddi-api/pom.xml b/hawkbit-rest/hawkbit-ddi-api/pom.xml
index ff8a9f467..e36c6f039 100644
--- a/hawkbit-rest/hawkbit-ddi-api/pom.xml
+++ b/hawkbit-rest/hawkbit-ddi-api/pom.xml
@@ -43,18 +43,9 @@
hawkbit-rest-core
${project.version}
-
org.springdoc
- springdoc-openapi-ui
-
-
- org.springdoc
- springdoc-openapi-hateoas
-
-
- org.springdoc
- springdoc-openapi-security
+ springdoc-openapi-starter-webmvc-ui
diff --git a/hawkbit-rest/hawkbit-mgmt-api/pom.xml b/hawkbit-rest/hawkbit-mgmt-api/pom.xml
index 3ae595aed..ac6040a2a 100644
--- a/hawkbit-rest/hawkbit-mgmt-api/pom.xml
+++ b/hawkbit-rest/hawkbit-mgmt-api/pom.xml
@@ -32,18 +32,9 @@
org.springframework.hateoas
spring-hateoas
-
org.springdoc
- springdoc-openapi-ui
-
-
- org.springdoc
- springdoc-openapi-hateoas
-
-
- org.springdoc
- springdoc-openapi-security
+ springdoc-openapi-starter-webmvc-ui
diff --git a/hawkbit-rest/hawkbit-rest-core/pom.xml b/hawkbit-rest/hawkbit-rest-core/pom.xml
index 9a8bf3b19..64898aee9 100644
--- a/hawkbit-rest/hawkbit-rest-core/pom.xml
+++ b/hawkbit-rest/hawkbit-rest-core/pom.xml
@@ -53,15 +53,7 @@
org.springdoc
- springdoc-openapi-ui
-
-
- org.springdoc
- springdoc-openapi-hateoas
-
-
- org.springdoc
- springdoc-openapi-security
+ springdoc-openapi-starter-webmvc-ui
jakarta.servlet
diff --git a/hawkbit-rest/hawkbit-rest-core/src/main/java/org/eclipse/hawkbit/rest/OpenApiConfiguration.java b/hawkbit-rest/hawkbit-rest-core/src/main/java/org/eclipse/hawkbit/rest/OpenApiConfiguration.java
index 6b9f09c20..a7b2c4337 100644
--- a/hawkbit-rest/hawkbit-rest-core/src/main/java/org/eclipse/hawkbit/rest/OpenApiConfiguration.java
+++ b/hawkbit-rest/hawkbit-rest-core/src/main/java/org/eclipse/hawkbit/rest/OpenApiConfiguration.java
@@ -9,12 +9,11 @@
*/
package org.eclipse.hawkbit.rest;
-import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.security.SecurityRequirement;
import io.swagger.v3.oas.models.security.SecurityScheme;
-import org.springdoc.core.GroupedOpenApi;
+import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -51,7 +50,7 @@ public class OpenApiConfiguration {
.builder()
.group("Management API")
.pathsToMatch("/rest/v1/**")
- .addOpenApiCustomiser(openApi -> {
+ .addOpenApiCustomizer(openApi -> {
openApi
.addSecurityItem(new SecurityRequirement()
.addList(BASIC_AUTH_SEC_SCHEME_NAME)
@@ -85,7 +84,7 @@ public class OpenApiConfiguration {
.builder()
.group("Direct Device Integration API")
.pathsToMatch("/{tenant}/controller/**")
- .addOpenApiCustomiser(openApi -> {
+ .addOpenApiCustomizer(openApi -> {
openApi
.addSecurityItem(new SecurityRequirement().addList(DDI_TOKEN_SEC_SCHEME_NAME))
.components(
diff --git a/pom.xml b/pom.xml
index 0070d30d8..b866bd3a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,10 +144,9 @@
3.2.1
2023.0.0
+ 2.3.0
3.0.0
-
- 1.7.0
@@ -732,20 +731,9 @@
compile
-
org.springdoc
- springdoc-openapi-ui
- ${springdoc-openapi.version}
-
-
- org.springdoc
- springdoc-openapi-hateoas
- ${springdoc-openapi.version}
-
-
- org.springdoc
- springdoc-openapi-security
+ springdoc-openapi-starter-webmvc-ui
${springdoc-openapi.version}