Skip to content

Commit

Permalink
tweak XmlDoc to match github documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangribble committed Jul 14, 2018
1 parent 7a59df5 commit 7989cca
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
8 changes: 4 additions & 4 deletions Octokit.Reactive/Clients/IObservableCheckRunsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Octokit.Reactive
public interface IObservableCheckRunsClient
{
/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -22,7 +22,7 @@ public interface IObservableCheckRunsClient
IObservable<CheckRun> Create(string owner, string name, NewCheckRun newCheckRun);

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -32,7 +32,7 @@ public interface IObservableCheckRunsClient
IObservable<CheckRun> Create(long repositoryId, NewCheckRun newCheckRun);

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -44,7 +44,7 @@ public interface IObservableCheckRunsClient
IObservable<CheckRun> Update(string owner, string name, long checkRunId, CheckRunUpdate checkRunUpdate);

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand Down
8 changes: 4 additions & 4 deletions Octokit.Reactive/Clients/ObservableCheckRunsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public ObservableCheckRunsClient(IGitHubClient client)
}

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -46,7 +46,7 @@ public IObservable<CheckRun> Create(string owner, string name, NewCheckRun newCh
}

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -61,7 +61,7 @@ public IObservable<CheckRun> Create(long repositoryId, NewCheckRun newCheckRun)
}

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -80,7 +80,7 @@ public IObservable<CheckRun> Update(string owner, string name, long checkRunId,
}

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand Down
2 changes: 1 addition & 1 deletion Octokit.Tests.Integration/Clients/CheckRunsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public async Task GetsAllCheckRuns()
CheckName = "name",
Status = CheckStatusFilter.InProgress
};

var checkRuns = await _githubAppInstallation.Check.Run.GetAllForCheckSuite(repoContext.RepositoryOwner, repoContext.RepositoryName, created.CheckSuite.Id, request);

// Check result
Expand Down
9 changes: 4 additions & 5 deletions Octokit/Clients/CheckRunsClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

Expand All @@ -22,7 +21,7 @@ public CheckRunsClient(IApiConnection apiConnection) : base(apiConnection)
}

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -40,7 +39,7 @@ public Task<CheckRun> Create(string owner, string name, NewCheckRun newCheckRun)
}

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -55,7 +54,7 @@ public Task<CheckRun> Create(long repositoryId, NewCheckRun newCheckRun)
}

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -74,7 +73,7 @@ public Task<CheckRun> Update(string owner, string name, long checkRunId, CheckRu
}

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand Down
11 changes: 5 additions & 6 deletions Octokit/Clients/ICheckRunsClient.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading.Tasks;

namespace Octokit
{
Expand All @@ -12,7 +11,7 @@ namespace Octokit
public interface ICheckRunsClient
{
/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -23,7 +22,7 @@ public interface ICheckRunsClient
Task<CheckRun> Create(string owner, string name, NewCheckRun newCheckRun);

/// <summary>
/// Creates a new Check Run
/// Creates a new check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#create-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -33,7 +32,7 @@ public interface ICheckRunsClient
Task<CheckRun> Create(long repositoryId, NewCheckRun newCheckRun);

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand All @@ -45,7 +44,7 @@ public interface ICheckRunsClient
Task<CheckRun> Update(string owner, string name, long checkRunId, CheckRunUpdate checkRunUpdate);

/// <summary>
/// Updates a Check Run
/// Updates a check run for a specific commit in a repository.
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3/checks/runs/#update-a-check-run">Check Runs API documentation</a> for more information.
Expand Down

0 comments on commit 7989cca

Please sign in to comment.