From da6926e44f46413b73194c007c8ba82a106f4f31 Mon Sep 17 00:00:00 2001 From: Octokit Bot <33075676+octokitbot@users.noreply.github.com> Date: Thu, 4 Mar 2021 11:39:16 -0800 Subject: [PATCH] feat: `DELETE /applications/{client_id}/token`: `access_token` required in requestBody, `PUT /orgs/{org}/actions/secrets/{secret_name}`: `pattern` added to `encrypted_value`, `PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}`: schema added for `Operations` items in requestBody, `PUT /repos/{owner}/{repo}/environments/{environment_name}`: improved schema for requestBody parameters. Fixes `POST /repos/{owner}/{repo}/check-runs`: request body schema uses `oneOf` instead of `anyOf` for different `status` restrictions - via https://github.com/octokit/openapi-types.ts/releases/tag/v5.3.0 (#278) --- package-lock.json | 6 +- package.json | 4 +- .../update-endpoints/generated/endpoints.json | 165 +++--------------- 3 files changed, 25 insertions(+), 150 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6dcdf598e..5517c01d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1136,9 +1136,9 @@ } }, "@octokit/openapi-types": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.2.2.tgz", - "integrity": "sha512-b3nHy/0uufJJsaZERwZM0syLRO6gfr6vvBPLewQxBKzzbhGDx1ygTyoELMNADD7mIPPzGMqbfdCeJTSeZueZwA==" + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-5.3.0.tgz", + "integrity": "sha512-5q2qBz4iZ0xS/DEJ0ROusFbN4cVlbJE9GvOByen+mv7artuGXfVhONqcuRd7jYN2glTmCnzcZw+X6LrjRVqs0A==" }, "@octokit/plugin-paginate-rest": { "version": "2.11.0", diff --git a/package.json b/package.json index 0bd36b47c..8e9be3217 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^5.2.2" + "@octokit/openapi-types": "^5.3.0" }, "scripts": { "build": "pika build", @@ -96,7 +96,7 @@ ] }, "octokit": { - "openapi-version": "2.12.1" + "openapi-version": "2.13.1" }, "renovate": { "extends": [ diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index 45411963a..b3ffd8b9e 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -2701,151 +2701,8 @@ "parameters": [ { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "head_sha" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "details_url" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "external_id" - }, { "alias": null, "deprecated": null, "in": "BODY", "name": "status" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "started_at" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "conclusion" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "completed_at" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "output" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.title" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.summary" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.text" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].path" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].start_line" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].end_line" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].start_column" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].end_column" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].annotation_level" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].message" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].title" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.annotations[].raw_details" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.images" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.images[].alt" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.images[].image_url" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "output.images[].caption" - }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "actions" }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "actions[].label" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "actions[].description" - }, - { - "alias": null, - "deprecated": null, - "in": "BODY", - "name": "actions[].identifier" - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "*" } ], "previews": [], "renamed": null @@ -4062,7 +3919,25 @@ "name": "scim_group_id" }, { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, - { "alias": null, "deprecated": null, "in": "BODY", "name": "Operations" } + { "alias": null, "deprecated": null, "in": "BODY", "name": "Operations" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "Operations[].op" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "Operations[].path" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "Operations[].value" + } ], "previews": [], "renamed": null