You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my perspective the version number should refer to the version of the OpenAPI-Generator and to the perl version too. In my case this was 6.2.1 and 5.14.4. This could be an alternative
Is your feature request related to a problem? Please describe.
I think the default User Agent Information defined in the configuration class is questinonable.
Describe the solution you'd like
If the 1.0.0 version refers to the
VERSION
constant, it is my question why the constant is not interpolated$p{http_user_agent} //= "OpenAPI-Generator/@{[VERSION]}/perl";
Describe alternatives you've considered
From my perspective the version number should refer to the version of the OpenAPI-Generator and to the perl version too. In my case this was 6.2.1 and 5.14.4. This could be an alternative
$p{http_user_agent} //=sprintf('OpenAPI-Generator/%s perl/%vd', '6.2.1', $^V);
Additional context
I guess the VERSION constant refers to the release cycle of the client itself. This should be another part of the User Agent Information.
The text was updated successfully, but these errors were encountered: