From e1f1f523afb19be69e409c126a71d8ca87c3a062 Mon Sep 17 00:00:00 2001 From: Jeremie Bresson Date: Sun, 12 Aug 2018 17:53:36 +0200 Subject: [PATCH] Remove duplicate variable declaration --- .../languages/PhpLaravelServerCodegen.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpLaravelServerCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpLaravelServerCodegen.java index 0d4f91181de6..ed9215d40101 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpLaravelServerCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpLaravelServerCodegen.java @@ -17,31 +17,13 @@ package org.openapitools.codegen.languages; -import io.swagger.models.properties.*; -import io.swagger.v3.oas.models.*; -import io.swagger.v3.oas.models.media.*; -import io.swagger.v3.oas.models.parameters.*; import org.openapitools.codegen.*; import java.io.File; import java.util.*; -import io.swagger.v3.oas.models.media.*; -import io.swagger.v3.oas.models.PathItem; -import io.swagger.v3.oas.models.PathItem.HttpMethod; -import io.swagger.v3.oas.models.*; -import io.swagger.v3.oas.models.parameters.*; -import io.swagger.v3.core.util.Yaml; - -import org.apache.commons.lang3.StringUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - - public class PhpLaravelServerCodegen extends AbstractPhpCodegen { - @SuppressWarnings("hiding") protected String apiVersion = "1.0.0"; - protected String variableNamingConvention = "camelCase"; /** * Configures the type of generator. @@ -80,6 +62,7 @@ public PhpLaravelServerCodegen() { super(); embeddedTemplateDir = templateDir = "php-laravel"; + variableNamingConvention = "camelCase"; /* * packPath