File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/csharp/DocRaptor/Client Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public ApiClient()
2626 {
2727 Configuration = Configuration . Default ;
2828 RestClient = new RestClient ( "https://docraptor.com/" ) ;
29+ RestClient . UserAgent = "csharp-swagger-" + Configuration . Version ;
2930 }
3031
3132 /// <summary>
@@ -41,6 +42,7 @@ public ApiClient(Configuration config = null)
4142 Configuration = config ;
4243
4344 RestClient = new RestClient ( "https://docraptor.com/" ) ;
45+ RestClient . UserAgent = "csharp-swagger-" + Configuration . Version ;
4446 }
4547
4648 /// <summary>
@@ -55,6 +57,7 @@ public ApiClient(String basePath = "https://docraptor.com/")
5557
5658 RestClient = new RestClient ( basePath ) ;
5759 Configuration = Configuration . Default ;
60+ RestClient . UserAgent = "csharp-swagger-" + Configuration . Version ;
5861 }
5962
6063 /// <summary>
You can’t perform that action at this time.
0 commit comments