mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 21:55:12 +00:00
feat: Implement dependency review and dependency submission APIs (#2932)
Implement dependency review and dependency submission Co-authored-by: André Pereira <Andre.LuisPereira@Student.HTW-Berlin.de>
This commit is contained in:
29
Octokit.Reactive/Clients/ObservableDependencyGraphClient.cs
Normal file
29
Octokit.Reactive/Clients/ObservableDependencyGraphClient.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
namespace Octokit.Reactive
|
||||
{
|
||||
/// <summary>
|
||||
/// A client for GitHub's Dependency Graph API.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/rest/dependency-graph">Git Dependency Graph API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
public class ObservableDependencyGraphClient : IObservableDependencyGraphClient
|
||||
{
|
||||
public ObservableDependencyGraphClient(IGitHubClient client)
|
||||
{
|
||||
Ensure.ArgumentNotNull(client, nameof(client));
|
||||
|
||||
//DependencyReview = new ObservableDependencyReviewClient(client);
|
||||
DependencySubmission = new ObservableDependencySubmissionClient(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Client for getting a dependency comparison between two commits.
|
||||
/// </summary>
|
||||
public IObservableDependencyReviewClient DependencyReview { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Client for submitting dependency snapshots.
|
||||
/// </summary>
|
||||
public IObservableDependencySubmissionClient DependencySubmission { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user