Skip to content

Bump Submodule/github/rest-api-description from bf4af7c to 23d16a0 #126

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

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
30 changes: 29 additions & 1 deletion Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6414,6 +6414,30 @@ public enum Components {
public var webCommitSignoffRequired: Swift.Bool?
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
/// A container of undocumented properties.
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
/// Creates a new `CustomPropertiesPayload`.
///
/// - Parameters:
/// - additionalProperties: A container of undocumented properties.
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
self.additionalProperties = additionalProperties
}
public init(from decoder: any Decoder) throws {
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
}
public func encode(to encoder: any Encoder) throws {
try encoder.encodeAdditionalProperties(additionalProperties)
}
}
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
/// Creates a new `MinimalRepository`.
///
/// - Parameters:
Expand Down Expand Up @@ -6504,6 +6528,7 @@ public enum Components {
/// - allowForking:
/// - webCommitSignoffRequired:
/// - securityAndAnalysis:
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
public init(
id: Swift.Int64,
nodeId: Swift.String,
Expand Down Expand Up @@ -6591,7 +6616,8 @@ public enum Components {
watchers: Swift.Int? = nil,
allowForking: Swift.Bool? = nil,
webCommitSignoffRequired: Swift.Bool? = nil,
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
) {
self.id = id
self.nodeId = nodeId
Expand Down Expand Up @@ -6680,6 +6706,7 @@ public enum Components {
self.allowForking = allowForking
self.webCommitSignoffRequired = webCommitSignoffRequired
self.securityAndAnalysis = securityAndAnalysis
self.customProperties = customProperties
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -6769,6 +6796,7 @@ public enum Components {
case allowForking = "allow_forking"
case webCommitSignoffRequired = "web_commit_signoff_required"
case securityAndAnalysis = "security_and_analysis"
case customProperties = "custom_properties"
}
}
/// - Remark: Generated from `#/components/schemas/actions-cache-usage-org-enterprise`.
Expand Down
30 changes: 29 additions & 1 deletion Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4175,6 +4175,30 @@ public enum Components {
public var webCommitSignoffRequired: Swift.Bool?
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
/// A container of undocumented properties.
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
/// Creates a new `CustomPropertiesPayload`.
///
/// - Parameters:
/// - additionalProperties: A container of undocumented properties.
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
self.additionalProperties = additionalProperties
}
public init(from decoder: any Decoder) throws {
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
}
public func encode(to encoder: any Encoder) throws {
try encoder.encodeAdditionalProperties(additionalProperties)
}
}
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
/// Creates a new `MinimalRepository`.
///
/// - Parameters:
Expand Down Expand Up @@ -4265,6 +4289,7 @@ public enum Components {
/// - allowForking:
/// - webCommitSignoffRequired:
/// - securityAndAnalysis:
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
public init(
id: Swift.Int64,
nodeId: Swift.String,
Expand Down Expand Up @@ -4352,7 +4377,8 @@ public enum Components {
watchers: Swift.Int? = nil,
allowForking: Swift.Bool? = nil,
webCommitSignoffRequired: Swift.Bool? = nil,
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
) {
self.id = id
self.nodeId = nodeId
Expand Down Expand Up @@ -4441,6 +4467,7 @@ public enum Components {
self.allowForking = allowForking
self.webCommitSignoffRequired = webCommitSignoffRequired
self.securityAndAnalysis = securityAndAnalysis
self.customProperties = customProperties
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -4530,6 +4557,7 @@ public enum Components {
case allowForking = "allow_forking"
case webCommitSignoffRequired = "web_commit_signoff_required"
case securityAndAnalysis = "security_and_analysis"
case customProperties = "custom_properties"
}
}
/// Thread
Expand Down
30 changes: 29 additions & 1 deletion Sources/checks/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,30 @@ public enum Components {
public var webCommitSignoffRequired: Swift.Bool?
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
/// A container of undocumented properties.
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
/// Creates a new `CustomPropertiesPayload`.
///
/// - Parameters:
/// - additionalProperties: A container of undocumented properties.
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
self.additionalProperties = additionalProperties
}
public init(from decoder: any Decoder) throws {
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
}
public func encode(to encoder: any Encoder) throws {
try encoder.encodeAdditionalProperties(additionalProperties)
}
}
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
/// Creates a new `MinimalRepository`.
///
/// - Parameters:
Expand Down Expand Up @@ -1525,6 +1549,7 @@ public enum Components {
/// - allowForking:
/// - webCommitSignoffRequired:
/// - securityAndAnalysis:
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
public init(
id: Swift.Int64,
nodeId: Swift.String,
Expand Down Expand Up @@ -1612,7 +1637,8 @@ public enum Components {
watchers: Swift.Int? = nil,
allowForking: Swift.Bool? = nil,
webCommitSignoffRequired: Swift.Bool? = nil,
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
) {
self.id = id
self.nodeId = nodeId
Expand Down Expand Up @@ -1701,6 +1727,7 @@ public enum Components {
self.allowForking = allowForking
self.webCommitSignoffRequired = webCommitSignoffRequired
self.securityAndAnalysis = securityAndAnalysis
self.customProperties = customProperties
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -1790,6 +1817,7 @@ public enum Components {
case allowForking = "allow_forking"
case webCommitSignoffRequired = "web_commit_signoff_required"
case securityAndAnalysis = "security_and_analysis"
case customProperties = "custom_properties"
}
}
/// An object without any properties.
Expand Down
30 changes: 29 additions & 1 deletion Sources/codespaces/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3237,6 +3237,30 @@ public enum Components {
public var webCommitSignoffRequired: Swift.Bool?
/// - Remark: Generated from `#/components/schemas/minimal-repository/security_and_analysis`.
public var securityAndAnalysis: Components.Schemas.SecurityAndAnalysis?
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public struct CustomPropertiesPayload: Codable, Hashable, Sendable {
/// A container of undocumented properties.
public var additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer
/// Creates a new `CustomPropertiesPayload`.
///
/// - Parameters:
/// - additionalProperties: A container of undocumented properties.
public init(additionalProperties: OpenAPIRuntime.OpenAPIObjectContainer = .init()) {
self.additionalProperties = additionalProperties
}
public init(from decoder: any Decoder) throws {
additionalProperties = try decoder.decodeAdditionalProperties(knownKeys: [])
}
public func encode(to encoder: any Encoder) throws {
try encoder.encodeAdditionalProperties(additionalProperties)
}
}
/// The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
///
/// - Remark: Generated from `#/components/schemas/minimal-repository/custom_properties`.
public var customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload?
/// Creates a new `MinimalRepository`.
///
/// - Parameters:
Expand Down Expand Up @@ -3327,6 +3351,7 @@ public enum Components {
/// - allowForking:
/// - webCommitSignoffRequired:
/// - securityAndAnalysis:
/// - customProperties: The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
public init(
id: Swift.Int64,
nodeId: Swift.String,
Expand Down Expand Up @@ -3414,7 +3439,8 @@ public enum Components {
watchers: Swift.Int? = nil,
allowForking: Swift.Bool? = nil,
webCommitSignoffRequired: Swift.Bool? = nil,
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil
securityAndAnalysis: Components.Schemas.SecurityAndAnalysis? = nil,
customProperties: Components.Schemas.MinimalRepository.CustomPropertiesPayload? = nil
) {
self.id = id
self.nodeId = nodeId
Expand Down Expand Up @@ -3503,6 +3529,7 @@ public enum Components {
self.allowForking = allowForking
self.webCommitSignoffRequired = webCommitSignoffRequired
self.securityAndAnalysis = securityAndAnalysis
self.customProperties = customProperties
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -3592,6 +3619,7 @@ public enum Components {
case allowForking = "allow_forking"
case webCommitSignoffRequired = "web_commit_signoff_required"
case securityAndAnalysis = "security_and_analysis"
case customProperties = "custom_properties"
}
}
/// An object without any properties.
Expand Down
16 changes: 14 additions & 2 deletions Sources/copilot/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1221,12 +1221,16 @@ public enum Components {
public var id: Swift.Int64
/// - Remark: Generated from `#/components/schemas/enterprise-team/name`.
public var name: Swift.String
/// - Remark: Generated from `#/components/schemas/enterprise-team/description`.
public var description: Swift.String?
/// - Remark: Generated from `#/components/schemas/enterprise-team/slug`.
public var slug: Swift.String
/// - Remark: Generated from `#/components/schemas/enterprise-team/url`.
public var url: Swift.String
/// - Remark: Generated from `#/components/schemas/enterprise-team/sync_to_organizations`.
public var syncToOrganizations: Swift.String
public var syncToOrganizations: Swift.String?
/// - Remark: Generated from `#/components/schemas/enterprise-team/organization_selection_type`.
public var organizationSelectionType: Swift.String?
/// - Remark: Generated from `#/components/schemas/enterprise-team/group_id`.
public var groupId: Swift.String?
/// - Remark: Generated from `#/components/schemas/enterprise-team/group_name`.
Expand All @@ -1244,9 +1248,11 @@ public enum Components {
/// - Parameters:
/// - id:
/// - name:
/// - description:
/// - slug:
/// - url:
/// - syncToOrganizations:
/// - organizationSelectionType:
/// - groupId:
/// - groupName:
/// - htmlUrl:
Expand All @@ -1256,9 +1262,11 @@ public enum Components {
public init(
id: Swift.Int64,
name: Swift.String,
description: Swift.String? = nil,
slug: Swift.String,
url: Swift.String,
syncToOrganizations: Swift.String,
syncToOrganizations: Swift.String? = nil,
organizationSelectionType: Swift.String? = nil,
groupId: Swift.String? = nil,
groupName: Swift.String? = nil,
htmlUrl: Swift.String,
Expand All @@ -1268,9 +1276,11 @@ public enum Components {
) {
self.id = id
self.name = name
self.description = description
self.slug = slug
self.url = url
self.syncToOrganizations = syncToOrganizations
self.organizationSelectionType = organizationSelectionType
self.groupId = groupId
self.groupName = groupName
self.htmlUrl = htmlUrl
Expand All @@ -1281,9 +1291,11 @@ public enum Components {
public enum CodingKeys: String, CodingKey {
case id
case name
case description
case slug
case url
case syncToOrganizations = "sync_to_organizations"
case organizationSelectionType = "organization_selection_type"
case groupId = "group_id"
case groupName = "group_name"
case htmlUrl = "html_url"
Expand Down
Loading