set default user default for ruby, php, python, java

This commit is contained in:
wing328
2016-03-14 22:26:11 +08:00
parent e10c28596c
commit be7a49385f
78 changed files with 2285 additions and 1953 deletions

View File

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