Skip to content

Commit

Permalink
fix: add enum to status property in diff-entry component (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Sep 14, 2021
1 parent 4e68b9c commit 3b8b517
Show file tree
Hide file tree
Showing 18 changed files with 138 additions and 24 deletions.
16 changes: 14 additions & 2 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -50350,7 +50350,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
16 changes: 14 additions & 2 deletions cache/ghes-2.22.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -44206,7 +44206,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
16 changes: 14 additions & 2 deletions cache/ghes-3.0.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -45242,7 +45242,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
16 changes: 14 additions & 2 deletions cache/ghes-3.1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -46071,7 +46071,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
16 changes: 14 additions & 2 deletions cache/ghes-3.2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -49163,7 +49163,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
16 changes: 14 additions & 2 deletions cache/github.ae.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "5.2.1",
"version": "5.2.2",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
Expand Down Expand Up @@ -44862,7 +44862,19 @@
"example": "bbcd538c8e72b8c175046e27cc8f907076331401"
},
"filename": { "type": "string", "example": "file1.txt" },
"status": { "type": "string", "example": "added" },
"status": {
"type": "string",
"enum": [
"added",
"removed",
"modified",
"renamed",
"copied",
"changed",
"unchanged"
],
"example": "added"
},
"additions": { "type": "integer", "example": 103 },
"deletions": { "type": "integer", "example": 21 },
"changes": { "type": "integer", "example": 124 },
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-2.22/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types-ghes-2.22/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7366,7 +7366,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types-ghes-3.0/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7587,7 +7587,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types-ghes-3.1/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7870,7 +7870,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types-ghes-3.2/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8586,7 +8586,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-github.ae/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types-github.ae/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7760,7 +7760,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"types": "types.d.ts",
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": { "openapi-version": "5.2.1" }
"octokit": { "openapi-version": "5.2.2" }
}
9 changes: 8 additions & 1 deletion packages/openapi-types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8997,7 +8997,14 @@ export interface components {
"diff-entry": {
sha: string;
filename: string;
status: string;
status:
| "added"
| "removed"
| "modified"
| "renamed"
| "copied"
| "changed"
| "unchanged";
additions: number;
deletions: number;
changes: number;
Expand Down

0 comments on commit 3b8b517

Please sign in to comment.