From 54d87e67ffa025712bf0103f0b65faea5b204817 Mon Sep 17 00:00:00 2001 From: Youness Dendane Date: Mon, 23 Nov 2020 19:02:59 -0500 Subject: [PATCH 1/2] Fix typo in doc comment --- src/RestSharp/RestClientExtensions.cs | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/RestSharp/RestClientExtensions.cs b/src/RestSharp/RestClientExtensions.cs index 1f2eee201..268dc70c0 100644 --- a/src/RestSharp/RestClientExtensions.cs +++ b/src/RestSharp/RestClientExtensions.cs @@ -43,7 +43,7 @@ public static IRestResponse ExecuteDynamic(this IRestClient client, IRe /// /// Execute the request using GET HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -59,7 +59,7 @@ public static async Task GetAsync(this IRestClient client, IRestRequest re /// /// Execute the request using POST HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -75,7 +75,7 @@ public static async Task PostAsync(this IRestClient client, IRestRequest r /// /// Execute the request using PUT HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -91,7 +91,7 @@ public static async Task PutAsync(this IRestClient client, IRestRequest re /// /// Execute the request using HEAD HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -107,7 +107,7 @@ public static async Task HeadAsync(this IRestClient client, IRestRequest r /// /// Execute the request using OPTIONS HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -123,7 +123,7 @@ public static async Task OptionsAsync(this IRestClient client, IRestReques /// /// Execute the request using PATCH HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -139,7 +139,7 @@ public static async Task PatchAsync(this IRestClient client, IRestRequest /// /// Execute the request using DELETE HTTP method. Exception will be thrown if the request does not succeed. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -155,7 +155,7 @@ public static async Task DeleteAsync(this IRestClient client, IRestRequest /// /// Execute the request using GET HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -166,7 +166,7 @@ public static IRestResponse Get(this IRestClient client, IRestRequest requ /// /// Execute the request using POST HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -177,7 +177,7 @@ public static IRestResponse Post(this IRestClient client, IRestRequest req /// /// Execute the request using PUT HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -188,7 +188,7 @@ public static IRestResponse Put(this IRestClient client, IRestRequest requ /// /// Execute the request using HEAD HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -199,7 +199,7 @@ public static IRestResponse Head(this IRestClient client, IRestRequest req /// /// Execute the request using OPTIONS HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -210,7 +210,7 @@ public static IRestResponse Options(this IRestClient client, IRestRequest /// /// Execute the request using PATCH HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -221,7 +221,7 @@ public static IRestResponse Patch(this IRestClient client, IRestRequest re /// /// Execute the request using DELETE HTTP method. - /// The response data is deserialzied to the Data property of the returned response object. + /// The response data is deserialized to the Data property of the returned response object. /// /// RestClient instance /// The request @@ -460,4 +460,4 @@ public static RestClient UseXml(this RestClient client) return client; } } -} \ No newline at end of file +} From 0dc7297c60e7961b97cf59a4f860ea203d6f1e73 Mon Sep 17 00:00:00 2001 From: Youness Dendane Date: Mon, 23 Nov 2020 19:03:27 -0500 Subject: [PATCH 2/2] Fix typo in documentation --- docs/api/RestSharp.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/api/RestSharp.md b/docs/api/RestSharp.md index 54e837bd4..720a38b4c 100644 --- a/docs/api/RestSharp.md +++ b/docs/api/RestSharp.md @@ -7056,7 +7056,7 @@ Type | Description #### Method `GetAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using GET HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7084,7 +7084,7 @@ Type | Description #### Method `PostAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using POST HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7112,7 +7112,7 @@ Type | Description #### Method `PutAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using PUT HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7140,7 +7140,7 @@ Type | Description #### Method `HeadAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using HEAD HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7168,7 +7168,7 @@ Type | Description #### Method `OptionsAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using OPTIONS HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7196,7 +7196,7 @@ Type | Description #### Method `PatchAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using PATCH HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7224,7 +7224,7 @@ Type | Description #### Method `DeleteAsync(IRestClient, IRestRequest, CancellationToken)` Execute the request using DELETE HTTP method. Exception will be thrown if the request does not succeed. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7252,7 +7252,7 @@ Type | Description #### Method `Get(IRestClient, IRestRequest)` Execute the request using GET HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7279,7 +7279,7 @@ Type | Description #### Method `Post(IRestClient, IRestRequest)` Execute the request using POST HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7306,7 +7306,7 @@ Type | Description #### Method `Put(IRestClient, IRestRequest)` Execute the request using PUT HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7333,7 +7333,7 @@ Type | Description #### Method `Head(IRestClient, IRestRequest)` Execute the request using HEAD HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7360,7 +7360,7 @@ Type | Description #### Method `Options(IRestClient, IRestRequest)` Execute the request using OPTIONS HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7387,7 +7387,7 @@ Type | Description #### Method `Patch(IRestClient, IRestRequest)` Execute the request using PATCH HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp @@ -7414,7 +7414,7 @@ Type | Description #### Method `Delete(IRestClient, IRestRequest)` Execute the request using DELETE HTTP method. -The response data is deserialzied to the Data property of the returned response object. +The response data is deserialized to the Data property of the returned response object. ##### Syntax ```csharp