forked from loafle/openapi-generator-original
Removed printing artifactVersion if it is not set
This commit is contained in:
parent
e687ad5823
commit
cce21abaec
@ -6,8 +6,8 @@
|
||||
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
||||
|
||||
- API version: {{appVersion}}
|
||||
- Package version: {{artifactVersion}}
|
||||
- Build date: {{generatedDate}}
|
||||
{{#artifactVersion}}- Package version: {{artifactVersion}}
|
||||
{{/artifactVersion}}- Build date: {{generatedDate}}
|
||||
- Build package: {{generatorClass}}
|
||||
{{#infoUrl}}
|
||||
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
|
||||
|
@ -110,7 +110,7 @@ class Configuration
|
||||
*
|
||||
* @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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user