forked from loafle/openapi-generator-original
committed by
GitHub
parent
3dcef8249b
commit
189bf7d6c5
@@ -82,7 +82,7 @@ sub new {
|
||||
|
||||
# class/static variables
|
||||
$p{http_timeout} //= 180;
|
||||
$p{http_user_agent} //= '{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{moduleVersion}}}/perl{{/httpUserAgent}}';
|
||||
$p{http_user_agent} //= '{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/' . VERSION . '/perl{{/httpUserAgent}}';
|
||||
|
||||
# authentication setting
|
||||
$p{api_key} //= {};
|
||||
|
||||
@@ -95,7 +95,7 @@ sub new {
|
||||
|
||||
# class/static variables
|
||||
$p{http_timeout} //= 180;
|
||||
$p{http_user_agent} //= 'OpenAPI-Generator/1.0.0/perl';
|
||||
$p{http_user_agent} //= 'OpenAPI-Generator/' . VERSION . '/perl';
|
||||
|
||||
# authentication setting
|
||||
$p{api_key} //= {};
|
||||
|
||||
Reference in New Issue
Block a user