From 0f4a4773a906cee6fce5f001e7778f3c12d1a4d7 Mon Sep 17 00:00:00 2001 From: Haacked Date: Thu, 19 Mar 2015 16:45:14 -0700 Subject: [PATCH] Add license template to NewRepository --- Octokit/Models/Request/NewRepository.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Octokit/Models/Request/NewRepository.cs b/Octokit/Models/Request/NewRepository.cs index d70100d7..04184c5d 100644 --- a/Octokit/Models/Request/NewRepository.cs +++ b/Octokit/Models/Request/NewRepository.cs @@ -58,6 +58,16 @@ namespace Octokit [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gitignore", Justification = "It needs to be this way for proper serialization.")] public string GitignoreTemplate { get; set; } + /// + /// Optional. Gets or sets the desired Desired LICENSE template to apply. Use the name of the template without + /// the extension. For example, “mit” or “mozilla”. + /// + /// + /// The list of license templates are here: https://github.com/github/choosealicense.com/tree/gh-pages/_licenses + /// Just omit the ".txt" file extension for the template name. + /// + public string LicenseTemplate { get; set; } + /// /// Required. Gets or sets the new repository's name. ///