You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure that code snippets use enum members that are pascal cased and
not upper cased. For example use `Method.Get` instead of `Method.GET` to
ensure the snippets can compile.
fixesKong#365
Ensure that code snippets use enum members that are pascal cased and
not upper cased. For example use `Method.Get` instead of `Method.GET` to
ensure the snippets can compile.
fixesKong#365
use `var` for return "type" of RestSharp request response
The type `IRestResponse` doesn't exist in latest client (version 112)
fixesKong#367
Here's a portion of the code generated from a csharp RestSharp code snippet
The issue is that the actual member we need is
Method.Get
as shown in the source code here:https://github.com/restsharp/RestSharp/blob/0fba5e727d241b1867bd71efc912594075c2934b/src/RestSharp/Enum.cs#L70
None of the Http Verbs are upper-cased in the enum definition.
Seems like I relatively easy fix. I'll try to write a PR.
The text was updated successfully, but these errors were encountered: