Skip to content

Commit

Permalink
Fix null test and add reactive version.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdziadkiewicz committed Nov 12, 2017
1 parent 21ce7bb commit 576af11
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Octokit.Reactive/Clients/IObservableMiscellaneousClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ public interface IObservableMiscellaneousClient
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
IObservable<LicenseMetadata> GetAllLicenses();

/// <summary>
/// Returns a list of the licenses shown in the license picker on GitHub.com. This is not a comprehensive
/// list of all possible OSS licenses.
/// </summary>
/// <remarks>This is a PREVIEW API! Use it at your own risk.</remarks>
/// <param name="options">Options for changing the API response</param>
/// <returns>A list of licenses available on the site</returns>
IObservable<LicenseMetadata> GetAllLicenses(ApiOptions options);

/// <summary>
/// Retrieves a license based on the license key such as "mit"
/// </summary>
Expand Down

0 comments on commit 576af11

Please sign in to comment.