diff --git a/light-rest-4j/src/main/java/com/networknt/codegen/rest/OpenApiKotlinGenerator.java b/light-rest-4j/src/main/java/com/networknt/codegen/rest/OpenApiKotlinGenerator.java index 1fee6d9c7..3edcb09ed 100644 --- a/light-rest-4j/src/main/java/com/networknt/codegen/rest/OpenApiKotlinGenerator.java +++ b/light-rest-4j/src/main/java/com/networknt/codegen/rest/OpenApiKotlinGenerator.java @@ -139,7 +139,7 @@ public void generate(String targetPath, Object model, Any config) throws IOExcep transfer(targetPath, "", "gradle.properties", templates.restkotlin.gradleProperties.template(config)); transfer(targetPath, "", "settings.gradle.kts", templates.restkotlin.settingsGradleKts.template(config)); - transferGradle(targetPath); + // transferGradle(targetPath); TODO fix it. // config transfer(targetPath, ("src.main.resources.config").replace(".", separator), "service.yml", templates.restkotlin.openapi.service.template(config)); diff --git a/light-rest-4j/src/main/java/com/networknt/codegen/rest/SwaggerGenerator.java b/light-rest-4j/src/main/java/com/networknt/codegen/rest/SwaggerGenerator.java index 94ab2eed3..45c2f13af 100644 --- a/light-rest-4j/src/main/java/com/networknt/codegen/rest/SwaggerGenerator.java +++ b/light-rest-4j/src/main/java/com/networknt/codegen/rest/SwaggerGenerator.java @@ -95,7 +95,7 @@ public void generate(String targetPath, Object model, Any config) throws IOExcep if(dockerOrganization == null || dockerOrganization.length() == 0) dockerOrganization = "networknt"; transfer(targetPath, "", "pom.xml", templates.rest.swagger.pom.template(config)); - transferMaven(targetPath); + // transferMaven(targetPath); TODO fix it. // There is only one port that should be exposed in Dockerfile, otherwise, the service // discovery will be so confused. If https is enabled, expose the https port. Otherwise http port. String expose = "";