diff --git a/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs b/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs index 952dd82a61..4bab6da42b 100644 --- a/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs +++ b/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs @@ -597,6 +597,7 @@ public interface IObservableRepositoriesClient /// See the Repository Deploy Keys API documentation for more information. /// IObservableRepositoryDeployKeysClient DeployKeys { get; } + /// /// A client for GitHub's Repository Pages API. /// @@ -604,5 +605,13 @@ public interface IObservableRepositoriesClient /// See the Repository Pages API documentation for more information. /// IObservableRepositoryPagesClient Page { get; } + + /// + /// A client for GitHub's Repository Invitations API. + /// + /// + /// See the Repository Invitations API documentation for more information. + /// + IObservableRepositoryInvitationsClient Invitation { get; } } } diff --git a/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs b/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs index c4839ea021..fa6f1f7c28 100644 --- a/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs +++ b/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs @@ -42,6 +42,7 @@ public ObservableRepositoriesClient(IGitHubClient client) Content = new ObservableRepositoryContentsClient(client); Merging = new ObservableMergingClient(client); Page = new ObservableRepositoryPagesClient(client); + Invitation = new ObservableRepositoryInvitationsClient(client); } /// @@ -900,5 +901,13 @@ public IObservable Compare(string owner, string name, string @bas /// See the Repository Pages API documentation for more information. /// public IObservableRepositoryPagesClient Page { get; private set; } + + /// + /// A client for GitHub's Repository Invitations API. + /// + /// + /// See the Repository Invitations API documentation for more information. + /// + public IObservableRepositoryInvitationsClient Invitation { get; private set; } } } diff --git a/Octokit/Models/Request/InvitationUpdate.cs b/Octokit/Models/Request/InvitationUpdate.cs index 8aa395a04f..82c4a1b5e9 100644 --- a/Octokit/Models/Request/InvitationUpdate.cs +++ b/Octokit/Models/Request/InvitationUpdate.cs @@ -5,12 +5,9 @@ namespace Octokit { /// - /// Used to update a gist and its contents. + /// Used to update a invitation. /// - /// - /// Note: All files from the previous version of the gist are carried over by default if not included in the - /// object. Deletes can be performed by including the filename with a null object. - /// API docs: https://developer.github.com/v3/gists/ + /// /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class InvitationUpdate