feat(perl): Update agent to use version constant (#17665)

close #14297
This commit is contained in:
William E Little Jr
2024-01-20 10:47:39 -06:00
committed by GitHub
parent 3dcef8249b
commit 189bf7d6c5
2 changed files with 2 additions and 2 deletions

View File

@@ -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} //= {};