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
Apparently this works fine in some languages but for the PHP client it generates invalid classnames since PHP classes are not allowed to start with a digit:
/** * 400ResponseModel Class Doc Comment * * @category Class * @description * @package Supplier\Cybersource * @author http://github.com/swagger-api/swagger-codegen * @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2 * @link https://github.com/swagger-api/swagger-codegen */class400ResponseModel implements ArrayAccess
{
/** * Array of property to type mappings. Used for (de)serialization * @var string[] */static$swaggerTypes = array(
/* ... */
The text was updated successfully, but these errors were encountered:
Thanks. This looks like a good solution. I am not really sure how I can get the master .jar file? I used the wagger-codegen-cli-2.1.5.jar from the maven repos before.
git clone https://github.com/swagger-api/swagger-codegen.git
cd swagger-codegen
mvn package
ls ./modules/swagger-codegen-cli/target/swagger-codegen-cli.jar
Some of the models start with a digit. E.g. a small part from my definition:
Apparently this works fine in some languages but for the PHP client it generates invalid classnames since PHP classes are not allowed to start with a digit:
The text was updated successfully, but these errors were encountered: