Skip to content

Commit ba07441

Browse files
committed
Fixes #2080
1 parent eec84f6 commit ba07441

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

docs/docs/usage/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ If you need to override the property name or format, you can do it using the `Re
171171
```csharp
172172
public class RequestModel {
173173
// override the name and the format
174-
[RequestAttribute(Name = "from_date", Format = "d")]
174+
[RequestProperty(Name = "from_date", Format = "d")]
175175
public DateTime FromDate { get; set; }
176176
}
177177

src/RestSharp/RestClient.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
using System.Diagnostics.CodeAnalysis;
1616
using System.Net.Http.Headers;
1717
using System.Runtime.CompilerServices;
18-
using RestSharp.Authenticators;
19-
using RestSharp.Interceptors;
2018
using RestSharp.Serializers;
2119

2220
// ReSharper disable VirtualMemberCallInConstructor

0 commit comments

Comments
 (0)