diff --git a/Octokit/Models/Request/IssueRequest.cs b/Octokit/Models/Request/IssueRequest.cs index 241bc8f218..32d5ea68bc 100644 --- a/Octokit/Models/Request/IssueRequest.cs +++ b/Octokit/Models/Request/IssueRequest.cs @@ -147,20 +147,14 @@ public enum ItemStateFilter public enum ItemState { /// - /// Issues that are open + /// Items that are open /// Open, /// - /// Issues that are closed + /// Items that are closed /// - Closed, - - /// - /// All the issues. The option is Obsolete - /// - [Obsolete("The value is Obsolete and will be removed in a future release as it is not a valid option for Search, Create and Update operations")] - All + Closed } /// diff --git a/Octokit/Models/Request/PullRequestRequest.cs b/Octokit/Models/Request/PullRequestRequest.cs index 38465509f6..ee4ede637e 100644 --- a/Octokit/Models/Request/PullRequestRequest.cs +++ b/Octokit/Models/Request/PullRequestRequest.cs @@ -19,7 +19,7 @@ public PullRequestRequest() } /// - /// "open", "closed" or "all" to filter by state. Default is "open". + /// Which PullRequests to get. The default is /// public ItemStateFilter State { get; set; } diff --git a/Octokit/Models/Response/Issue.cs b/Octokit/Models/Response/Issue.cs index a96848476d..8b49b2df44 100644 --- a/Octokit/Models/Response/Issue.cs +++ b/Octokit/Models/Response/Issue.cs @@ -64,7 +64,7 @@ public Issue(Uri url, Uri htmlUrl, Uri commentsUrl, Uri eventsUrl, int number, I public int Number { get; protected set; } /// - /// Whether the issue is open, closed or all. + /// Whether the issue is open or closed. /// public ItemState State { get; protected set; }