first pass at cleaning up attributes (#2157)

This commit is contained in:
Brendan Forster
2020-03-18 09:02:11 -03:00
committed by GitHub
parent 327020750f
commit dc2f6ff001
54 changed files with 402 additions and 383 deletions
@@ -23,7 +23,7 @@ namespace Octokit
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <param name="number">The comment id</param>
[ManualRoute("GET", "/repos/{owner}/{name}/pulls/comments/{comment_id}/reactions")]
[ManualRoute("GET", "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions")]
public Task<IReadOnlyList<Reaction>> GetAll(string owner, string name, int number)
{
return GetAll(owner, name, number, ApiOptions.None);
@@ -38,7 +38,7 @@ namespace Octokit
/// <param name="number">The comment id</param>
/// <param name="options">Options for changing the API response</param>
[Preview("squirrel-girl")]
[ManualRoute("GET", "/repos/{owner}/{name}/pulls/comments/{comment_id}/reactions")]
[ManualRoute("GET", "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions")]
public Task<IReadOnlyList<Reaction>> GetAll(string owner, string name, int number, ApiOptions options)
{
Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));
@@ -85,7 +85,7 @@ namespace Octokit
/// <param name="number">The comment id</param>
/// <param name="reaction">The reaction to create</param>
[Preview("squirrel-girl")]
[ManualRoute("POST", "/repos/{owner}/{name}/pulls/comments/{comment_id}/reactions")]
[ManualRoute("POST", "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions")]
public Task<Reaction> Create(string owner, string name, int number, NewReaction reaction)
{
Ensure.ArgumentNotNullOrEmptyString(owner, nameof(owner));