Skip to content

Commit d7bb46d

Browse files
Updating OpenAPI descriptions
1 parent 0ec539c commit d7bb46d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124616,7 +124616,7 @@
124616124616
"/repos/{owner}/{repo}/code-scanning/alerts": {
124617124617
"get": {
124618124618
"summary": "List code scanning alerts for a repository",
124619-
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
124619+
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
124620124620
"tags": [
124621124621
"code-scanning"
124622124622
],
@@ -125403,7 +125403,7 @@
125403125403
},
125404125404
"patch": {
125405125405
"summary": "Update a code scanning alert",
125406-
"description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.",
125406+
"description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125407125407
"operationId": "code-scanning/update-alert",
125408125408
"tags": [
125409125409
"code-scanning"
@@ -125822,7 +125822,7 @@
125822125822
"/repos/{owner}/{repo}/code-scanning/analyses": {
125823125823
"get": {
125824125824
"summary": "List recent code scanning analyses for a repository",
125825-
"description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
125825+
"description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
125826125826
"operationId": "code-scanning/list-recent-analyses",
125827125827
"tags": [
125828125828
"code-scanning"
@@ -125957,7 +125957,7 @@
125957125957
"/repos/{owner}/{repo}/code-scanning/sarifs": {
125958125958
"post": {
125959125959
"summary": "Upload a SARIF file",
125960-
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125960+
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
125961125961
"operationId": "code-scanning/upload-sarif",
125962125962
"tags": [
125963125963
"code-scanning"

lib/rest/static/dereferenced/ghes-2.22.deref.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114766,7 +114766,7 @@
114766114766
"/repos/{owner}/{repo}/code-scanning/alerts": {
114767114767
"get": {
114768114768
"summary": "List code scanning alerts for a repository",
114769-
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
114769+
"description": "Lists all open code scanning alerts for the default branch (usually `main` or `master`). You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
114770114770
"tags": [
114771114771
"code-scanning"
114772114772
],
@@ -115553,7 +115553,7 @@
115553115553
},
115554115554
"patch": {
115555115555
"summary": "Update a code scanning alert",
115556-
"description": "Updates the status of a single code scanning alert. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes.\nGitHub Apps must have the `security_events` write permission to use this endpoint.",
115556+
"description": "Updates the status of a single code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
115557115557
"operationId": "code-scanning/update-alert",
115558115558
"tags": [
115559115559
"code-scanning"
@@ -115972,7 +115972,7 @@
115972115972
"/repos/{owner}/{repo}/code-scanning/analyses": {
115973115973
"get": {
115974115974
"summary": "List recent code scanning analyses for a repository",
115975-
"description": "List the details of recent code scanning analyses for a repository. For private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` read permission to use this endpoint.",
115975+
"description": "List the details of recent code scanning analyses for a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.",
115976115976
"operationId": "code-scanning/list-recent-analyses",
115977115977
"tags": [
115978115978
"code-scanning"
@@ -116107,7 +116107,7 @@
116107116107
"/repos/{owner}/{repo}/code-scanning/sarifs": {
116108116108
"post": {
116109116109
"summary": "Upload a SARIF file",
116110-
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository.\nFor private repos, you must use an access token with the `repo` scope. For public repos, you must use an access token with `public_repo` and `repo:security_events` scopes. GitHub Apps must have the `security_events` write permission to use this endpoint.",
116110+
"description": "Upload a SARIF file containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.",
116111116111
"operationId": "code-scanning/upload-sarif",
116112116112
"tags": [
116113116113
"code-scanning"

0 commit comments

Comments
 (0)