Skip to content

Commit

Permalink
Merge pull request #1225 from dampir/fix-misspell-in-api-urls-and-api…
Browse files Browse the repository at this point in the history
…-connection

Some misspells in ApiUrls and ApiConnection were fixed.
  • Loading branch information
shiftkey committed Mar 28, 2016
2 parents 43e7858 + 8816fd4 commit 9e4435a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Octokit/Helpers/ApiUrls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Octokit
{
/// <summary>
/// Class for retrieving GitHub ApI URLs
/// Class for retrieving GitHub API URLs
/// </summary>
public static partial class ApiUrls
{
Expand Down Expand Up @@ -499,7 +499,7 @@ public static Uri OrganizationMembership(string org, string name)
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// /// <param name="number">The issue number</param>
/// <param name="number">The issue number</param>
/// <returns></returns>
public static Uri IssuesEvents(string owner, string name, int number)
{
Expand Down Expand Up @@ -906,7 +906,7 @@ public static Uri GistCommits(string id)
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// /// <param name="number">The pull request number</param>
/// <param name="number">The pull request number</param>
/// <returns></returns>
public static Uri PullRequest(string owner, string name, int number)
{
Expand All @@ -929,7 +929,7 @@ public static Uri PullRequests(string owner, string name)
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// /// <param name="number">The pull request number</param>
/// <param name="number">The pull request number</param>
public static Uri MergePullRequest(string owner, string name, int number)
{
return "repos/{0}/{1}/pulls/{2}/merge".FormatUri(owner, name, number);
Expand All @@ -940,7 +940,7 @@ public static Uri MergePullRequest(string owner, string name, int number)
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// /// <param name="number">The pull request number</param>
/// <param name="number">The pull request number</param>
public static Uri PullRequestCommits(string owner, string name, int number)
{
return "repos/{0}/{1}/pulls/{2}/commits".FormatUri(owner, name, number);
Expand Down Expand Up @@ -1507,7 +1507,7 @@ public static Uri Followers(string login)
/// <summary>
/// Creates the relative <see cref="Uri"/> for retrieving the users the current user follows
/// </summary>
/// <returns>The <see cref="Uri"/> for retrieiving the users the current user follows</returns>
/// <returns>The <see cref="Uri"/> for retrieving the users the current user follows</returns>
public static Uri Following()
{
return "user/following".FormatUri();
Expand Down
2 changes: 1 addition & 1 deletion Octokit/Http/ApiConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public Task Patch(Uri uri)
/// </summary>
/// <typeparam name="T">The API resource's type.</typeparam>
/// <param name="uri">URI of the API resource to update</param>
/// /// <param name="data">Object that describes the API resource; this will be serialized and used as the request's body</param>
/// <param name="data">Object that describes the API resource; this will be serialized and used as the request's body</param>
/// <returns>The updated API resource.</returns>
/// <exception cref="ApiException">Thrown when an API error occurs.</exception>
public async Task<T> Patch<T>(Uri uri, object data)
Expand Down

0 comments on commit 9e4435a

Please sign in to comment.