You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// composerVendorName/composerProjectName has be replaced by gitUserId/gitRepoId. prepare to remove these.
52
52
// public static final String COMPOSER_VENDOR_NAME = "composerVendorName";
53
53
// public static final String COMPOSER_PROJECT_NAME = "composerProjectName";
54
54
// protected String composerVendorName = null;
55
55
// protected String composerProjectName = null;
56
56
protectedStringinvokerPackage = "php";
57
-
protectedStringpackagePath = "php-base";
57
+
protectedStringpackageName = "php-base";
58
58
protectedStringartifactVersion = null;
59
59
protectedStringsrcBasePath = "lib";
60
60
protectedStringtestBasePath = "test";
@@ -140,8 +140,8 @@ public AbstractPhpCodegen() {
140
140
cliOptions.add(newCliOption(VARIABLE_NAMING_CONVENTION, "naming convention of variable name, e.g. camelCase.")
141
141
.defaultValue("snake_case"));
142
142
cliOptions.add(newCliOption(CodegenConstants.INVOKER_PACKAGE, "The main namespace to use for all classes. e.g. Yay\\Pets"));
143
-
cliOptions.add(newCliOption(PACKAGE_PATH, "The main package name for classes. e.g. GeneratedPetstore"));
144
-
cliOptions.add(newCliOption(SRC_BASE_PATH, "The directory under packagePath to serve as source root."));
143
+
cliOptions.add(newCliOption(PACKAGE_NAME, "The main package name for classes. e.g. GeneratedPetstore"));
144
+
cliOptions.add(newCliOption(SRC_BASE_PATH, "The directory to serve as source root."));
145
145
// cliOptions.add(new CliOption(COMPOSER_VENDOR_NAME, "The vendor name used in the composer package name. The template uses {{composerVendorName}}/{{composerProjectName}} for the composer package name. e.g. yaypets. IMPORTANT NOTE (2016/03): composerVendorName will be deprecated and replaced by gitUserId in the next openapi-generator release"));
// cliOptions.add(new CliOption(COMPOSER_PROJECT_NAME, "The project name used in the composer package name. The template uses {{composerVendorName}}/{{composerProjectName}} for the composer package name. e.g. petstore-client. IMPORTANT NOTE (2016/03): composerProjectName will be deprecated and replaced by gitRepoId in the next openapi-generator release"));
@@ -153,10 +153,10 @@ public AbstractPhpCodegen() {
153
153
publicvoidprocessOpts() {
154
154
super.processOpts();
155
155
156
-
if (additionalProperties.containsKey(PACKAGE_PATH)) {
0 commit comments