diff --git a/components/approval/backend/pom.xml b/components/approval/backend/pom.xml index 2c2aa46f..782bc878 100644 --- a/components/approval/backend/pom.xml +++ b/components/approval/backend/pom.xml @@ -122,11 +122,11 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui org.springdoc - springdoc-openapi-kotlin + springdoc-openapi-starter-common org.openapitools diff --git a/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/adapter/rest/RequestApprovalProcessRestConfiguration.kt b/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/adapter/rest/RequestApprovalProcessRestConfiguration.kt index 668ebb31..d174b292 100644 --- a/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/adapter/rest/RequestApprovalProcessRestConfiguration.kt +++ b/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/adapter/rest/RequestApprovalProcessRestConfiguration.kt @@ -2,7 +2,7 @@ package io.holunda.polyflow.example.process.approval.adapter.rest import io.holunda.polyflow.view.auth.UnknownUserException import io.swagger.v3.oas.models.info.Info -import org.springdoc.core.GroupedOpenApi +import org.springdoc.core.models.GroupedOpenApi import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.http.HttpStatus @@ -29,7 +29,7 @@ class RequestApprovalProcessRestConfiguration { .group("request-approval") .displayName("Request Approval") .pathsToMatch(Rest.REST_PREFIX + "/**") - .addOpenApiCustomiser { openApi -> + .addOpenApiCustomizer { openApi -> openApi .info( Info() diff --git a/components/order-processing/backend/pom.xml b/components/order-processing/backend/pom.xml index acc7a049..b3be01d9 100644 --- a/components/order-processing/backend/pom.xml +++ b/components/order-processing/backend/pom.xml @@ -103,7 +103,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui org.openapitools diff --git a/components/tasklist-backend/pom.xml b/components/tasklist-backend/pom.xml index 3d0ead0f..3fbdbb6f 100755 --- a/components/tasklist-backend/pom.xml +++ b/components/tasklist-backend/pom.xml @@ -59,11 +59,11 @@ org.springdoc - springdoc-openapi-kotlin + springdoc-openapi-starter-common org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/components/tasklist-backend/src/main/kotlin/io/holunda/polyflow/example/tasklist/adapter/rest/TasklistRestConfiguration.kt b/components/tasklist-backend/src/main/kotlin/io/holunda/polyflow/example/tasklist/adapter/rest/TasklistRestConfiguration.kt index a4780a1d..c9444c5e 100644 --- a/components/tasklist-backend/src/main/kotlin/io/holunda/polyflow/example/tasklist/adapter/rest/TasklistRestConfiguration.kt +++ b/components/tasklist-backend/src/main/kotlin/io/holunda/polyflow/example/tasklist/adapter/rest/TasklistRestConfiguration.kt @@ -2,7 +2,7 @@ package io.holunda.polyflow.example.tasklist.adapter.rest import io.holunda.polyflow.view.auth.UnknownUserException import io.swagger.v3.oas.models.info.Info -import org.springdoc.core.GroupedOpenApi +import org.springdoc.core.models.GroupedOpenApi import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.http.HttpStatus @@ -22,7 +22,7 @@ class TasklistRestConfiguration { GroupedOpenApi.builder() .group("tasklist") .displayName("Task list") - .addOpenApiCustomiser { openApi -> + .addOpenApiCustomizer { openApi -> openApi .info( Info() diff --git a/components/tasklist-reactive-backend/pom.xml b/components/tasklist-reactive-backend/pom.xml index 7285f10e..8f2051a9 100755 --- a/components/tasklist-reactive-backend/pom.xml +++ b/components/tasklist-reactive-backend/pom.xml @@ -64,7 +64,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/pom.xml b/pom.xml index 45f54602..6dfdc2dd 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ 7.20.0 1.23.0 1.5.0 - 1.7.0 + 2.2.0 1.5.5.Final 5.2.1 0.2.6 @@ -147,12 +147,17 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui ${springdoc.version} org.springdoc - springdoc-openapi-kotlin + springdoc-openapi-starter-webmvc-ui + ${springdoc.version} + + + org.springdoc + springdoc-openapi-starter-common ${springdoc.version} diff --git a/scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/pom.xml b/scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/pom.xml index 10c37f5b..82d91723 100644 --- a/scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/pom.xml +++ b/scenarios/distributed-axon-server-local-polyflow/process-platform-view-only/pom.xml @@ -70,7 +70,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/scenarios/distributed-axon-server/cockpit-application/backend/pom.xml b/scenarios/distributed-axon-server/cockpit-application/backend/pom.xml index b276adbd..d0312d23 100644 --- a/scenarios/distributed-axon-server/cockpit-application/backend/pom.xml +++ b/scenarios/distributed-axon-server/cockpit-application/backend/pom.xml @@ -48,7 +48,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/scenarios/distributed-axon-server/process-platform-jpa/pom.xml b/scenarios/distributed-axon-server/process-platform-jpa/pom.xml index 49316d47..dcc6bf07 100644 --- a/scenarios/distributed-axon-server/process-platform-jpa/pom.xml +++ b/scenarios/distributed-axon-server/process-platform-jpa/pom.xml @@ -75,7 +75,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/scenarios/distributed-axon-server/process-platform-mem/pom.xml b/scenarios/distributed-axon-server/process-platform-mem/pom.xml index 117f6e16..e8934e39 100644 --- a/scenarios/distributed-axon-server/process-platform-mem/pom.xml +++ b/scenarios/distributed-axon-server/process-platform-mem/pom.xml @@ -75,7 +75,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/scenarios/distributed-axon-server/process-platform-mongo/pom.xml b/scenarios/distributed-axon-server/process-platform-mongo/pom.xml index 71bb96d3..e4533cab 100644 --- a/scenarios/distributed-axon-server/process-platform-mongo/pom.xml +++ b/scenarios/distributed-axon-server/process-platform-mongo/pom.xml @@ -60,7 +60,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui diff --git a/scenarios/distributed-kafka/process-platform-view-only/pom.xml b/scenarios/distributed-kafka/process-platform-view-only/pom.xml index 9f676f2c..3249c884 100644 --- a/scenarios/distributed-kafka/process-platform-view-only/pom.xml +++ b/scenarios/distributed-kafka/process-platform-view-only/pom.xml @@ -77,7 +77,7 @@ org.springdoc - springdoc-openapi-ui + springdoc-openapi-starter-webmvc-ui