forked from loafle/openapi-generator-original
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
|
# class/static variables
|
||||||
our $http_timeout = 180;
|
our $http_timeout = 180;
|
||||||
our $http_user_agent = 'Perl-Swagger';
|
our $http_user_agent = '{{#httpUserAgent}}{{{.}}}{{/httpUserAgent}}{{^httpUserAgent}}Swagger-Codegen/{{{moduleVersion}}}/perl{{/httpUserAgent}}';
|
||||||
|
|
||||||
# authentication setting
|
# authentication setting
|
||||||
our $api_key = {};
|
our $api_key = {};
|
||||||
|
@ -42,7 +42,7 @@ use constant VERSION => '1.0.0';
|
|||||||
|
|
||||||
# class/static variables
|
# class/static variables
|
||||||
our $http_timeout = 180;
|
our $http_timeout = 180;
|
||||||
our $http_user_agent = 'Perl-Swagger';
|
our $http_user_agent = 'Swagger-Codegen/1.0.0/perl';
|
||||||
|
|
||||||
# authentication setting
|
# authentication setting
|
||||||
our $api_key = {};
|
our $api_key = {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user