update ref_field to real name 'ref' on CreateIssueOpen

This commit is contained in:
Paul Campbell 2023-12-17 09:06:20 +00:00
parent c4228f01c8
commit a6c8d299f5

View file

@ -21,6 +21,7 @@ pub struct CreateIssueOption {
/// The milestone ID for the issue.
pub milestone: Option<usize>,
/// The reference for the issue.
#[serde(rename = "ref")]
pub ref_field: String,
/// The title of the issue (required).
pub title: String,