perl: Sync default user agent with other languages

This commit is contained in:
Ville Skyttä 2016-08-28 15:11:32 +03:00
parent 4337f050f5
commit 9c92bcb693
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 = {};