Skip to content

Commit

Permalink
Fixes #2080
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzimarev committed May 22, 2024
1 parent eec84f6 commit ba07441
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/usage/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ If you need to override the property name or format, you can do it using the `Re
```csharp
public class RequestModel {
// override the name and the format
[RequestAttribute(Name = "from_date", Format = "d")]
[RequestProperty(Name = "from_date", Format = "d")]
public DateTime FromDate { get; set; }
}

Expand Down
2 changes: 0 additions & 2 deletions src/RestSharp/RestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
using System.Diagnostics.CodeAnalysis;
using System.Net.Http.Headers;
using System.Runtime.CompilerServices;
using RestSharp.Authenticators;
using RestSharp.Interceptors;
using RestSharp.Serializers;

// ReSharper disable VirtualMemberCallInConstructor
Expand Down

0 comments on commit ba07441

Please sign in to comment.