Merge pull request #3655 from scop/perl-user-agent

perl: Sync default user agent with other languages
This commit is contained in:
wing328 2016-08-28 21:13:49 +08:00 committed by GitHub
commit 10b360c4a7
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ use constant VERSION => '{{moduleVersion}}';
# class/static variables
our $http_timeout = 180;
our $http_user_agent = 'Perl-Swagger';
our $http_user_agent = '{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{moduleVersion}}}/perl{{/httpUserAgent}}';
# authentication setting
our $api_key = {};

View File

@ -42,7 +42,7 @@ use constant VERSION => '1.0.0';
# class/static variables
our $http_timeout = 180;
our $http_user_agent = 'Perl-Swagger';
our $http_user_agent = 'Swagger-Codegen/1.0.0/perl';
# authentication setting
our $api_key = {};