mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
Implement Draft Pull Requests (#2009)
* Add draft PR preview header * Add Draft property to models * Update pull requests client and tests to use draft PR accept header * Update observable pull requests client and tests to use draft PR accept header * Add integration tests to create and retrieve draft pull requests
This commit is contained in:
committed by
Brendan Forster
parent
d955d7facd
commit
fafbf33b78
@@ -50,6 +50,11 @@ namespace Octokit
|
||||
/// Body of the pull request (optional)
|
||||
/// </summary>
|
||||
public string Body { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the pull request is in a draft state or not (optional)
|
||||
/// </summary>
|
||||
public bool? Draft { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user