Fix model prefix/suffix with incorrect camelization (#4621)

* fix camelized name with suffix/prefix in java client

* fix php model name with prefix, suffix

* fix indentation in ts abstrat generator

* replace tab with spaces in ts abstract generator
This commit is contained in:
wing328
2017-01-23 01:29:11 +08:00
committed by GitHub
parent 2e50a65a1c
commit 8e71dfb512
38 changed files with 193 additions and 148 deletions

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* AdditionalPropertiesClass Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Animal Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* AnimalFarm Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ApiResponse Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ArrayOfArrayOfNumberOnly Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ArrayOfNumberOnly Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ArrayTest Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Cat Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Category Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,9 +34,8 @@ use \ArrayAccess;
/**
* ClassModel Class Doc Comment
*
* @category Class */
// @description Model for testing model with \"_class\" property
/**
* @category Class
* @description Model for testing model with \"_class\" property
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Client Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Dog Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* EnumArrays Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* EnumClass Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* EnumTest Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* FormatTest Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* HasOnlyReadOnly Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* MapTest Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* MixedPropertiesAndAdditionalPropertiesClass Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,9 +34,8 @@ use \ArrayAccess;
/**
* Model200Response Class Doc Comment
*
* @category Class */
// @description Model for testing model name starting with number
/**
* @category Class
* @description Model for testing model name starting with number
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ModelList Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,9 +34,8 @@ use \ArrayAccess;
/**
* ModelReturn Class Doc Comment
*
* @category Class */
// @description Model for testing reserved words
/**
* @category Class
* @description Model for testing reserved words
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,9 +34,8 @@ use \ArrayAccess;
/**
* Name Class Doc Comment
*
* @category Class */
// @description Model for testing model name same as property name
/**
* @category Class
* @description Model for testing model name same as property name
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* NumberOnly Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Order Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* OuterEnum Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Pet Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* ReadOnlyFirst Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* SpecialModelName Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* Tag Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen

View File

@@ -34,8 +34,7 @@ use \ArrayAccess;
/**
* User Class Doc Comment
*
* @category Class */
/**
* @category Class
* @package Swagger\Client
* @author Swagger Codegen team
* @link https://github.com/swagger-api/swagger-codegen