mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
perl: Sync default user agent with other languages
This commit is contained in:
parent
4337f050f5
commit
9c92bcb693
@ -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 = {};
|
||||
|
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user