From 4564be9017560e5a4bf147f96ba7a560c1c2898e Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Tue, 29 Apr 2025 23:37:52 -0700 Subject: [PATCH 1/2] Update OpenAPI Description (#55446) Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> --- src/github-apps/lib/config.json | 2 +- src/rest/data/fpt-2022-11-28/schema.json | 6 +++--- src/rest/data/ghec-2022-11-28/schema.json | 6 +++--- src/rest/data/ghes-3.12-2022-11-28/schema.json | 6 +++--- src/rest/data/ghes-3.13-2022-11-28/schema.json | 6 +++--- src/rest/data/ghes-3.14-2022-11-28/schema.json | 6 +++--- src/rest/data/ghes-3.15-2022-11-28/schema.json | 6 +++--- src/rest/data/ghes-3.16-2022-11-28/schema.json | 6 +++--- src/rest/lib/config.json | 2 +- src/webhooks/lib/config.json | 2 +- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index d5b0747c896b..f0dc1f1bb311 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "e7a314cf1c452fbcf55e3be650f1bb7363cad424" + "sha": "1c22f3361af92533fad97262cf4b7c18574f22a6" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 3f796952b247..a850ae9e8a06 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -243506,7 +243506,7 @@ { "name": "has", "in": "query", - "description": "
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple has filters can be chained to check if multiple properties are present.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
Input field DraftPullRequestReviewThread.line changed type from Int! to Int
Input field DraftPullRequestReviewThread.path changed type from String! to String
The line of the blob to which the thread refers. The end of the line range for multi-line comments.
", - "type": "Int!", + "description": "The line of the blob to which the thread refers. The end of the line range for\nmulti-line comments. Required if not using positioning.
", + "type": "Int", "id": "int", "kind": "scalars", "href": "/graphql/reference/scalars#int" }, { "name": "path", - "description": "Path to the file being commented on.
", - "type": "String!", + "description": "Path to the file being commented on. Required if not using positioning.
", + "type": "String", "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string" diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index fa75d7e716c5..aee077f9afbf 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -13049,14 +13049,15 @@ input DraftPullRequestReviewThread { body: String! """ - The line of the blob to which the thread refers. The end of the line range for multi-line comments. + The line of the blob to which the thread refers. The end of the line range for + multi-line comments. Required if not using positioning. """ - line: Int! + line: Int """ - Path to the file being commented on. + Path to the file being commented on. Required if not using positioning. """ - path: String! + path: String """ The side of the diff on which the line resides. For multi-line comments, this is the side for the end of the line range. diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 1a08b234493f..f039fb8d9197 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -102376,16 +102376,16 @@ }, { "name": "line", - "description": "The line of the blob to which the thread refers. The end of the line range for multi-line comments.
", - "type": "Int!", + "description": "The line of the blob to which the thread refers. The end of the line range for\nmulti-line comments. Required if not using positioning.
", + "type": "Int", "id": "int", "kind": "scalars", "href": "/graphql/reference/scalars#int" }, { "name": "path", - "description": "Path to the file being commented on.
", - "type": "String!", + "description": "Path to the file being commented on. Required if not using positioning.
", + "type": "String", "id": "string", "kind": "scalars", "href": "/graphql/reference/scalars#string"