From aba86536aac8cb119ba4831a883f09aa0fa2ec8d Mon Sep 17 00:00:00 2001 From: Martin Scholz Date: Fri, 1 Jul 2016 10:22:47 +0200 Subject: [PATCH] add missing xml params --- .../Clients/IObservableRepositoryInvitationsClient.cs | 3 ++- .../Clients/ObservableRepositoryInvitationsClient.cs | 3 ++- Octokit/Clients/IRepositoryInvitationsClient.cs | 1 + Octokit/Clients/RepositoryInvitationsClient.cs | 1 + Octokit/Http/ApiConnection.cs | 1 + Octokit/Http/Connection.cs | 1 + 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs index 66f19e28e7..051386db08 100644 --- a/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs +++ b/Octokit.Reactive/Clients/IObservableRepositoryInvitationsClient.cs @@ -58,7 +58,8 @@ public interface IObservableRepositoryInvitationsClient /// See the API documentation for more information. /// /// The id ot the repository - /// The id of the invitation + /// The id of the invitation + /// The permission for the collsborator IObservable Edit(int repositoryId, int invitationId, InvitationUpdate permissions); } } diff --git a/Octokit.Reactive/Clients/ObservableRepositoryInvitationsClient.cs b/Octokit.Reactive/Clients/ObservableRepositoryInvitationsClient.cs index a2e42a3f07..d1455d3c5f 100644 --- a/Octokit.Reactive/Clients/ObservableRepositoryInvitationsClient.cs +++ b/Octokit.Reactive/Clients/ObservableRepositoryInvitationsClient.cs @@ -60,7 +60,8 @@ public IObservable Delete(int repositoryId, int invitationId) /// See the API documentation for more information. /// /// The id ot the repository - /// The id of the invitation + /// The id of the invitation + /// The permission for the collsborator public IObservable Edit(int repositoryId, int invitationId, InvitationUpdate permissions) { return _client.Edit(repositoryId, invitationId, permissions).ToObservable(); diff --git a/Octokit/Clients/IRepositoryInvitationsClient.cs b/Octokit/Clients/IRepositoryInvitationsClient.cs index a4ddaa5150..b48cb62c69 100644 --- a/Octokit/Clients/IRepositoryInvitationsClient.cs +++ b/Octokit/Clients/IRepositoryInvitationsClient.cs @@ -75,6 +75,7 @@ public interface IRepositoryInvitationsClient /// /// The id ot the repository /// The id of the invitation + /// The permission for the collsborator /// Thrown when a general API error occurs. /// Task Edit(int repositoryId, int invitationId, InvitationUpdate permissions); diff --git a/Octokit/Clients/RepositoryInvitationsClient.cs b/Octokit/Clients/RepositoryInvitationsClient.cs index 48733cbb11..b0897f064d 100644 --- a/Octokit/Clients/RepositoryInvitationsClient.cs +++ b/Octokit/Clients/RepositoryInvitationsClient.cs @@ -90,6 +90,7 @@ public Task> GetAllForRepository(int id) /// /// The id ot the repository /// The id of the invitation + /// The permission for the collsborator /// Thrown when a general API error occurs. /// public Task Edit(int repositoryId, int invitationId, InvitationUpdate permissions) diff --git a/Octokit/Http/ApiConnection.cs b/Octokit/Http/ApiConnection.cs index 593617fc76..988d7f0d32 100644 --- a/Octokit/Http/ApiConnection.cs +++ b/Octokit/Http/ApiConnection.cs @@ -391,6 +391,7 @@ public Task Patch(Uri uri) /// Updates the API resource at the specified URI. /// /// URI of the API resource to patch + /// Accept header to use for the API request /// A for the request's execution. public Task Patch(Uri uri, string accepts) { diff --git a/Octokit/Http/Connection.cs b/Octokit/Http/Connection.cs index 38fd4bba13..c98b76e3ed 100644 --- a/Octokit/Http/Connection.cs +++ b/Octokit/Http/Connection.cs @@ -389,6 +389,7 @@ public async Task Patch(Uri uri) /// Performs an asynchronous HTTP PATCH request. /// /// URI endpoint to send request to + /// Specifies accept response media type /// representing the received HTTP response public async Task Patch(Uri uri, string accepts) {