diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index f7d692c41..0c59f7b46 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -8118,11 +8118,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -8211,11 +8220,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -13837,7 +13855,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -13845,6 +13862,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -13859,7 +13877,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -17054,7 +17071,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -17131,7 +17148,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, @@ -109474,12 +109491,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -109602,12 +109628,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index d84697359..50987efba 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -5737,11 +5737,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -5809,11 +5812,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered @@ -10022,13 +10028,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -10050,7 +10056,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -12412,8 +12417,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -12470,8 +12475,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 @@ -79624,12 +79629,15 @@ components: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For license-based @@ -79726,12 +79734,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index f7d692c41..0c59f7b46 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -8118,11 +8118,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -8211,11 +8220,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -13837,7 +13855,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -13845,6 +13862,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -13859,7 +13877,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -17054,7 +17071,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -17131,7 +17148,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, @@ -109474,12 +109491,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -109602,12 +109628,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index d84697359..50987efba 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -5737,11 +5737,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -5809,11 +5812,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered @@ -10022,13 +10028,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -10050,7 +10056,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -12412,8 +12417,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -12470,8 +12475,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 @@ -79624,12 +79629,15 @@ components: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For license-based @@ -79726,12 +79734,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 9715ba4b4..9d62ffd31 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -70174,12 +70174,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -70478,12 +70487,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -70786,11 +70804,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -70879,11 +70906,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -90776,7 +90812,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -90784,6 +90819,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -90798,7 +90834,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -103707,7 +103742,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -103902,7 +103937,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 58673d678..804561d19 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -17886,12 +17886,15 @@ paths: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For @@ -18060,12 +18063,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -18169,11 +18175,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -18241,11 +18250,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered @@ -24765,13 +24777,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -24793,7 +24805,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -28844,8 +28855,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -28898,8 +28909,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 9715ba4b4..9d62ffd31 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -70174,12 +70174,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -70478,12 +70487,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -70786,11 +70804,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -70879,11 +70906,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -90776,7 +90812,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -90784,6 +90819,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -90798,7 +90834,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -103707,7 +103742,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -103902,7 +103937,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 58673d678..804561d19 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -17886,12 +17886,15 @@ paths: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For @@ -18060,12 +18063,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -18169,11 +18175,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -18241,11 +18250,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered @@ -24765,13 +24777,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -24793,7 +24805,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -28844,8 +28855,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -28898,8 +28909,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index b1cfcf104..255bd0f7e 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -65287,12 +65287,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -65569,11 +65578,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -65655,12 +65673,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -66035,12 +66062,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -66343,11 +66379,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -66425,12 +66470,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -137648,7 +137702,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -137656,6 +137709,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -137670,7 +137724,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -151803,7 +151856,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -151998,7 +152051,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index df2d90ba8..7989d25ad 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -23019,12 +23019,15 @@ paths: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For @@ -23194,11 +23197,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -23262,12 +23268,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -23381,12 +23390,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -23500,11 +23512,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -23564,12 +23579,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -38667,13 +38685,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -38695,7 +38713,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -42254,8 +42271,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -42308,8 +42325,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index b1cfcf104..255bd0f7e 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -65287,12 +65287,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -65569,11 +65578,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -65655,12 +65673,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -66035,12 +66062,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -66343,11 +66379,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -66425,12 +66470,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -137648,7 +137702,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -137656,6 +137709,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -137670,7 +137724,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -151803,7 +151856,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -151998,7 +152051,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index df2d90ba8..7989d25ad 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -23019,12 +23019,15 @@ paths: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For @@ -23194,11 +23197,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -23262,12 +23268,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -23381,12 +23390,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -23500,11 +23512,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -23564,12 +23579,15 @@ paths: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -38667,13 +38685,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -38695,7 +38713,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -42254,8 +42271,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -42308,8 +42325,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index f1db819d2..f211826bc 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -13018,11 +13018,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -13248,11 +13257,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -24612,7 +24630,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -24620,6 +24637,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -24634,7 +24652,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -28036,7 +28053,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -28113,7 +28130,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, @@ -129810,12 +129827,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -129948,12 +129974,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -130023,12 +130058,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -130112,12 +130156,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 2cbdb1eaf..bfd536791 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -9360,11 +9360,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -9526,11 +9529,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -17772,13 +17778,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -17800,7 +17806,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -20293,8 +20298,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -20351,8 +20356,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 @@ -94377,12 +94382,15 @@ components: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For license-based @@ -94488,12 +94496,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -94544,12 +94555,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -94615,12 +94629,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index f1db819d2..f211826bc 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -13018,11 +13018,20 @@ "default": "" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -13248,11 +13257,20 @@ "description": "The name of the entity to apply the budget to" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_product_sku": { @@ -24612,7 +24630,6 @@ "version": { "type": "string", "description": "The artifact version. Note that if multiple deployments have identical 'digest' parameter values,\nthe version parameter must also be identical across all entries.\n", - "minLength": 1, "maxLength": 100, "x-multi-segment": true, "example": "1.2.3" @@ -24620,6 +24637,7 @@ "status": { "type": "string", "description": "The deployment status of the artifact.", + "default": "deployed", "enum": [ "deployed", "decommissioned" @@ -24634,7 +24652,6 @@ "github_repository": { "type": "string", "description": "The name of the GitHub repository associated with the artifact. This should be used\nwhen there are no provenance attestations available for the artifact. The repository\nmust belong to the organization specified in the path parameter.\n\nIf a provenance attestation is available for the artifact, the API will use\nthe repository information from the attestation instead of this parameter.", - "minLength": 1, "maxLength": 100, "pattern": "^[A-Za-z0-9.\\-_]+$", "example": "my-github-repo" @@ -28036,7 +28053,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should be billed to the organization.", "items": { "type": "string" }, @@ -28113,7 +28130,7 @@ "properties": { "selected_usernames": { "type": "array", - "description": "The usernames of the organization members whose codespaces should not be billed to the organization.", + "description": "The usernames of the organization members and outside collaborators whose codespaces should not be billed to the organization.", "items": { "type": "string" }, @@ -129810,12 +129827,21 @@ "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "SkuPricing" + ] + }, + { + "type": "string", + "enum": [ + "ProductPricing" + ] + } ] }, "budget_amount": { @@ -129948,12 +129974,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -130023,12 +130058,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { @@ -130112,12 +130156,21 @@ "example": "actions_linux" }, "budget_type": { - "type": "string", "description": "The type of pricing for the budget", "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } ] }, "budget_alerting": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 2cbdb1eaf..bfd536791 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -9360,11 +9360,14 @@ paths: description: The name of the entity to apply the budget to default: '' budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -9526,11 +9529,14 @@ paths: type: string description: The name of the entity to apply the budget to budget_type: - type: string description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_product_sku: type: string description: A single product or SKU that will be covered in the @@ -17772,13 +17778,13 @@ paths: description: | The artifact version. Note that if multiple deployments have identical 'digest' parameter values, the version parameter must also be identical across all entries. - minLength: 1 maxLength: 100 x-multi-segment: true example: 1.2.3 status: type: string description: The deployment status of the artifact. + default: deployed enum: - deployed - decommissioned @@ -17800,7 +17806,6 @@ paths: If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter. - minLength: 1 maxLength: 100 pattern: "^[A-Za-z0-9.\\-_]+$" example: my-github-repo @@ -20293,8 +20298,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should be billed to the organization. items: type: string maxItems: 100 @@ -20351,8 +20356,8 @@ paths: properties: selected_usernames: type: array - description: The usernames of the organization members whose codespaces - should not be billed to the organization. + description: The usernames of the organization members and outside + collaborators whose codespaces should not be billed to the organization. items: type: string maxItems: 100 @@ -94377,12 +94382,15 @@ components: description: The unique identifier for the budget example: 2066deda-923f-43f9-88d2-62395a28c0cdd budget_type: - type: string description: The type of pricing for the budget example: SkuPricing - enum: - - SkuPricing - - ProductPricing + oneOf: + - type: string + enum: + - SkuPricing + - type: string + enum: + - ProductPricing budget_amount: type: integer description: The budget amount limit in whole dollars. For license-based @@ -94488,12 +94496,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -94544,12 +94555,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: @@ -94615,12 +94629,15 @@ components: description: A single product or sku to apply the budget to. example: actions_linux budget_type: - type: string description: The type of pricing for the budget example: ProductPricing - enum: - - ProductPricing - - SkuPricing + oneOf: + - type: string + enum: + - ProductPricing + - type: string + enum: + - SkuPricing budget_alerting: type: object properties: