diff --git a/templates/Java/libraries/okhttp-gson/ApiClient.mustache b/templates/Java/libraries/okhttp-gson/ApiClient.mustache index 9c775c4..2de9c8d 100644 --- a/templates/Java/libraries/okhttp-gson/ApiClient.mustache +++ b/templates/Java/libraries/okhttp-gson/ApiClient.mustache @@ -267,7 +267,7 @@ public class ApiClient { json = new JSON(); // Set default User-Agent. - setUserAgent("{{{httpUserAgent}}}{{^httpUserAgent}}OpenAPI-Generator/{{{artifactVersion}}}/java{{/httpUserAgent}}"); + setUserAgent("fabric-sdk-java-{{{artifactVersion}}}"); authentications = new HashMap(); {{#dynamicOperations}}