[FEAT]: Add support for Public Keys API (#2945)

* Add support for /mets/public_keys/<keyType>

* "files.insertFinalNewline": false

* revert and make setttings.json change csharp only

* formatting

* remove final new line

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
This commit is contained in:
Colby Williams
2024-12-27 14:05:00 -06:00
committed by GitHub
parent 6eefc5921b
commit f9fb116eab
18 changed files with 418 additions and 2 deletions
+10
View File
@@ -4833,6 +4833,16 @@ namespace Octokit
return "meta".FormatUri();
}
/// <summary>
/// Returns the <see cref="Uri"/> that returns meta in
/// response to a GET request.
/// </summary>
/// <returns>The <see cref="Uri"/> to meta.</returns>
public static Uri PublicKeys(PublicKeyType keysType)
{
return "meta/public_keys/{0}".FormatUri(keysType.ToParameter());
}
/// <summary>
/// Returns the <see cref="Uri"/> that returns all organization credentials in
/// response to a GET request.