Rename default packages for php client (#315)

* Rename default packages for php client

* Generate php client (OAS3)

* Rename namespace for tests

* Delete unnecessary 'use'

* Rename method/variable

* Update php client (OAS3)

* Generate php client (OAS2)

* Rename namespace for tests

* Delete unused files

* Fix tests
This commit is contained in:
Akihito Nakano
2018-05-08 00:04:06 +09:00
committed by William Cheng
parent e2f8976fa7
commit 376d9af9c0
334 changed files with 3333 additions and 7738 deletions

View File

@@ -56,10 +56,10 @@ public class PhpClientCodegen extends DefaultCodegen implements CodegenConfig {
public static final String SRC_BASE_PATH = "srcBasePath";
public static final String COMPOSER_VENDOR_NAME = "composerVendorName";
public static final String COMPOSER_PROJECT_NAME = "composerProjectName";
protected String invokerPackage = "Swagger\\Client";
protected String invokerPackage = "OpenAPITools\\Client";
protected String composerVendorName = null;
protected String composerProjectName = null;
protected String packagePath = "SwaggerClient-php";
protected String packagePath = "OpenAPIToolsClient-php";
protected String artifactVersion = null;
protected String srcBasePath = "lib";
protected String testBasePath = "test";