Removed printing artifactVersion if it is not set

This commit is contained in:
Mikolaj Przybysz 2016-05-24 12:17:57 +02:00
parent e687ad5823
commit cce21abaec
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: {{appVersion}} - API version: {{appVersion}}
- Package version: {{artifactVersion}} {{#artifactVersion}}- Package version: {{artifactVersion}}
- Build date: {{generatedDate}} {{/artifactVersion}}- Build date: {{generatedDate}}
- Build package: {{generatorClass}} - Build package: {{generatorClass}}
{{#infoUrl}} {{#infoUrl}}
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})

View File

@ -110,7 +110,7 @@ class Configuration
* *
* @var string * @var string
*/ */
protected $userAgent = "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{artifactVersion}}}/php{{/httpUserAgent}}"; protected $userAgent = "{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen{{#artifactVersion}}/{{{.}}}{{/artifactVersion}}/php{{/httpUserAgent}}";
/** /**
* Debug switch (default set to false) * Debug switch (default set to false)