add default version for package

This commit is contained in:
wing328 2015-07-06 15:21:24 +08:00
parent 71a22141bf
commit 44705b566d
3 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class PhpClientCodegen extends DefaultCodegen implements CodegenConfig {
protected String groupId = "swagger";
protected String artifactId = "swagger-client";
protected String packagePath = "SwaggerClient-php";
protected String artifactVersion = null;
protected String artifactVersion = "1.0.0";
protected String srcBasePath = "lib";
public PhpClientCodegen() {

View File

@ -302,7 +302,7 @@ class Configuration {
$report .= " OS: ".php_uname()."\n";
$report .= " PHP Version: ".phpversion()."\n";
$report .= " Swagger Spec Version: {{version}}\n";
$report .= " SDK Package Version: {{version}}\n";
$report .= " SDK Package Version: {{artifactVersion}}\n";
$report .= " Temp Folder Path: ".self::getDefaultConfiguration()->getTempFolderPath()."\n";
return $report;

View File

@ -1,5 +1,6 @@
{
"name": "swagger/swagger-client",
"version": "1.0.0",
"description": "",
"keywords": [
"swagger",