diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/newApiController.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/newApiController.mustache index e72324e61a8d..f12ad7c43231 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/newApiController.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/newApiController.mustache @@ -28,7 +28,7 @@ import java.util.concurrent.CompletableFuture; {{#useBeanValidation}} import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; {{/useBeanValidation}} {{#wrapCalls}} diff --git a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/PetApiController.java b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/PetApiController.java index 354fdf8d1bfc..31c739f9063c 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/PetApiController.java +++ b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/StoreApiController.java b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/StoreApiController.java index a373a1308107..8447ce817c48 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/UserApiController.java b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/UserApiController.java index 65bf54ff85ce..499a3299cc35 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/UserApiController.java +++ b/samples/server/petstore/java-play-framework-api-package-override/app/com/puppies/store/apis/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-async/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-async/app/controllers/PetApiController.java index 01e9a08cd963..fb36d1048251 100644 --- a/samples/server/petstore/java-play-framework-async/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-async/app/controllers/PetApiController.java @@ -23,7 +23,7 @@ import java.util.concurrent.CompletableFuture; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-async/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-async/app/controllers/StoreApiController.java index a576e89a8965..770a95db209c 100644 --- a/samples/server/petstore/java-play-framework-async/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-async/app/controllers/StoreApiController.java @@ -22,7 +22,7 @@ import java.util.concurrent.CompletableFuture; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-async/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-async/app/controllers/UserApiController.java index 858096d62294..ea36f42eb3ef 100644 --- a/samples/server/petstore/java-play-framework-async/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-async/app/controllers/UserApiController.java @@ -22,7 +22,7 @@ import java.util.concurrent.CompletableFuture; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-controller-only/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-controller-only/app/controllers/PetApiController.java index bdbe7b692e9e..47d67805e2b1 100644 --- a/samples/server/petstore/java-play-framework-controller-only/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-controller-only/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-controller-only/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-controller-only/app/controllers/StoreApiController.java index 9658efe06c93..5875ebd549cf 100644 --- a/samples/server/petstore/java-play-framework-controller-only/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-controller-only/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-controller-only/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-controller-only/app/controllers/UserApiController.java index d0d4f7b69422..6419bb8a489e 100644 --- a/samples/server/petstore/java-play-framework-controller-only/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-controller-only/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/AnotherFakeApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/AnotherFakeApiController.java index 9e5428c61066..34a629580d47 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/AnotherFakeApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/AnotherFakeApiController.java @@ -18,7 +18,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeApiController.java index e7505ca10b10..e334b4908b27 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeApiController.java @@ -27,7 +27,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeClassnameTags123ApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeClassnameTags123ApiController.java index ddc9ef4ed48e..f0e0767843c1 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeClassnameTags123ApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/FakeClassnameTags123ApiController.java @@ -18,7 +18,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/PetApiController.java index 4bd2fc642c5d..70989e282481 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/PetApiController.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/StoreApiController.java index f52ef8dd8c76..1d0e23d3c65c 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/UserApiController.java index c8fc2bd59ffa..bc58281c258a 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-fake-endpoints/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/PetApiController.java index a9c6ddaf9051..4921789755a0 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/PetApiController.java @@ -21,7 +21,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/StoreApiController.java index 3d8450059aa1..9f49cd92fd52 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/StoreApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/UserApiController.java index 47f21a5366c8..00753b987c50 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-no-exception-handling/app/controllers/UserApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-interface/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-no-interface/app/controllers/PetApiController.java index bae79d9ed83c..13199dce8518 100644 --- a/samples/server/petstore/java-play-framework-no-interface/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-no-interface/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-interface/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-no-interface/app/controllers/StoreApiController.java index b5091ffa438d..b4bb4edab355 100644 --- a/samples/server/petstore/java-play-framework-no-interface/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-no-interface/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-interface/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-no-interface/app/controllers/UserApiController.java index fffccc383e88..24081b8da904 100644 --- a/samples/server/petstore/java-play-framework-no-interface/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-no-interface/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/PetApiController.java index 81f5c019fc67..665512747fdb 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/StoreApiController.java index f52ef8dd8c76..1d0e23d3c65c 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/UserApiController.java index c8fc2bd59ffa..bc58281c258a 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-no-nullable/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/PetApiController.java index 81f5c019fc67..665512747fdb 100644 --- a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/StoreApiController.java index f52ef8dd8c76..1d0e23d3c65c 100644 --- a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/UserApiController.java index c8fc2bd59ffa..bc58281c258a 100644 --- a/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-no-swagger-ui/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/PetApiController.java index 4056c6b01575..8641206a3164 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen") diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/StoreApiController.java index 4d93a9c62f81..5384dda3750b 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen") diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/UserApiController.java index 4958e3590f20..923cbd359ca5 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaPlayFrameworkCodegen") diff --git a/samples/server/petstore/java-play-framework/app/controllers/PetApiController.java b/samples/server/petstore/java-play-framework/app/controllers/PetApiController.java index 81f5c019fc67..665512747fdb 100644 --- a/samples/server/petstore/java-play-framework/app/controllers/PetApiController.java +++ b/samples/server/petstore/java-play-framework/app/controllers/PetApiController.java @@ -20,7 +20,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework/app/controllers/StoreApiController.java b/samples/server/petstore/java-play-framework/app/controllers/StoreApiController.java index f52ef8dd8c76..1d0e23d3c65c 100644 --- a/samples/server/petstore/java-play-framework/app/controllers/StoreApiController.java +++ b/samples/server/petstore/java-play-framework/app/controllers/StoreApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction; diff --git a/samples/server/petstore/java-play-framework/app/controllers/UserApiController.java b/samples/server/petstore/java-play-framework/app/controllers/UserApiController.java index c8fc2bd59ffa..bc58281c258a 100644 --- a/samples/server/petstore/java-play-framework/app/controllers/UserApiController.java +++ b/samples/server/petstore/java-play-framework/app/controllers/UserApiController.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.type.TypeReference; import javax.validation.constraints.*; -import play.Configuration; +import com.typesafe.config.Config; import openapitools.OpenAPIUtils.ApiAction;