Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Title: Update documentation for API endpoints and usage examples #38

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ partial void ProcessCodespacesGetRepoPublicKeyResponseContent(
/// Get a repository public key<br/>
/// Gets your public key, which you need to encrypt secrets. You need to<br/>
/// encrypt a secret before you can create or update secrets.<br/>
/// Anyone with read access to the repository can use this endpoint.<br/>
/// If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
/// </summary>
/// <param name="owner"></param>
Expand Down
6 changes: 6 additions & 0 deletions src/libs/GitHub/Generated/GitHub.Models.ContentTree.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ public sealed partial class ContentTree
[global::System.Text.Json.Serialization.JsonRequired]
public required string Sha { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("content")]
public string? Content { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public sealed partial class ContentTreeEntrie
[global::System.Text.Json.Serialization.JsonRequired]
public required string Path { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("content")]
public string? Content { get; set; }

/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace GitHub
{
/// <summary>
/// Information about the seat breakdown and policies set for an organization with a Copilot Business subscription.
/// Information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription.
/// </summary>
public sealed partial class CopilotOrganizationDetails
{
Expand Down
15 changes: 7 additions & 8 deletions src/libs/GitHub/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24371,8 +24371,6 @@ paths:
Gets your public key, which you need to encrypt secrets. You need to
encrypt a secret before you can create or update secrets.

Anyone with read access to the repository can use this endpoint.

If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
tags:
- codespaces
Expand Down Expand Up @@ -71436,9 +71434,9 @@ components:
description: The number of seats that have not used Copilot during the current
billing cycle.
copilot-organization-details:
title: Copilot Business Organization Details
title: Copilot Organization Details
description: Information about the seat breakdown and policies set for an organization
with a Copilot Business subscription.
with a Copilot Business or Copilot Enterprise subscription.
type: object
properties:
seat_breakdown:
Expand Down Expand Up @@ -80789,6 +80787,8 @@ components:
type: string
sha:
type: string
content:
type: string
url:
type: string
format: uri
Expand Down Expand Up @@ -80817,8 +80817,6 @@ components:
type: string
path:
type: string
content:
type: string
sha:
type: string
url:
Expand Down Expand Up @@ -80894,8 +80892,6 @@ components:
- size
- type
- url
- content
- encoding
content-directory:
title: Content Directory
description: A list of directory items
Expand Down Expand Up @@ -199622,6 +199618,9 @@ components:
active_this_cycle: 12
inactive_this_cycle: 11
seat_management_setting: assign_selected
ide_chat: enabled
platform_chat: enabled
cli: enabled
public_code_suggestions: block
organization-dependabot-secret-paginated:
value:
Expand Down
Loading