Skip to content

Commit

Permalink
fix: replace missing component with inline definition (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Jan 8, 2025
1 parent c51cfc8 commit 8bd4526
Show file tree
Hide file tree
Showing 23 changed files with 163 additions and 33 deletions.
29 changes: 26 additions & 3 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": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down Expand Up @@ -70656,12 +70656,35 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/organization-fine-grained-permission"
"title": "Organization Fine-Grained Permission",
"description": "A fine-grained permission that protects organization resources.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"examples": {
"default": {
"$ref": "#/components/examples/organization-fine-grained-permission-example"
"value": [
{
"name": "read_organization_custom_org_role",
"description": "View organization roles"
},
{
"name": "write_organization_custom_org_role",
"description": "Manage custom organization roles"
}
]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion cache/ghec.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down
29 changes: 26 additions & 3 deletions cache/ghes-3.10.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down Expand Up @@ -63757,12 +63757,35 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/organization-fine-grained-permission"
"title": "Organization Fine-Grained Permission",
"description": "A fine-grained permission that protects organization resources.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"examples": {
"default": {
"$ref": "#/components/examples/organization-fine-grained-permission-example"
"value": [
{
"name": "read_organization_custom_org_role",
"description": "View organization roles"
},
{
"name": "write_organization_custom_org_role",
"description": "Manage custom organization roles"
}
]
}
}
}
Expand Down
29 changes: 26 additions & 3 deletions cache/ghes-3.11.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down Expand Up @@ -65260,12 +65260,35 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/organization-fine-grained-permission"
"title": "Organization Fine-Grained Permission",
"description": "A fine-grained permission that protects organization resources.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"examples": {
"default": {
"$ref": "#/components/examples/organization-fine-grained-permission-example"
"value": [
{
"name": "read_organization_custom_org_role",
"description": "View organization roles"
},
{
"name": "write_organization_custom_org_role",
"description": "Manage custom organization roles"
}
]
}
}
}
Expand Down
29 changes: 26 additions & 3 deletions cache/ghes-3.12.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down Expand Up @@ -66595,12 +66595,35 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/organization-fine-grained-permission"
"title": "Organization Fine-Grained Permission",
"description": "A fine-grained permission that protects organization resources.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"examples": {
"default": {
"$ref": "#/components/examples/organization-fine-grained-permission-example"
"value": [
{
"name": "read_organization_custom_org_role",
"description": "View organization roles"
},
{
"name": "write_organization_custom_org_role",
"description": "Manage custom organization roles"
}
]
}
}
}
Expand Down
29 changes: 26 additions & 3 deletions cache/ghes-3.13.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down Expand Up @@ -67302,12 +67302,35 @@
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/organization-fine-grained-permission"
"title": "Organization Fine-Grained Permission",
"description": "A fine-grained permission that protects organization resources.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"description"
]
}
},
"examples": {
"default": {
"$ref": "#/components/examples/organization-fine-grained-permission-example"
"value": [
{
"name": "read_organization_custom_org_role",
"description": "View organization roles"
},
{
"name": "write_organization_custom_org_role",
"description": "Manage custom organization roles"
}
]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion cache/ghes-3.14.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down
2 changes: 1 addition & 1 deletion cache/ghes-3.15.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down
2 changes: 1 addition & 1 deletion cache/github.ae.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "17.1.0",
"version": "17.1.1",
"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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "17.1.0"
"openapi-version": "17.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "17.1.0"
"openapi-version": "17.1.1"
}
}
5 changes: 4 additions & 1 deletion packages/openapi-types-ghes-3.10/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105361,7 +105361,10 @@ export interface operations {
/** @description Response */
200: {
content: {
"application/json": components["schemas"]["organization-fine-grained-permission"][];
"application/json": {
name: string;
description: string;
}[];
};
};
404: components["responses"]["not_found"];
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.11/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "17.1.0"
"openapi-version": "17.1.1"
}
}
5 changes: 4 additions & 1 deletion packages/openapi-types-ghes-3.11/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106837,7 +106837,10 @@ export interface operations {
/** @description Response */
200: {
content: {
"application/json": components["schemas"]["organization-fine-grained-permission"][];
"application/json": {
name: string;
description: string;
}[];
};
};
404: components["responses"]["not_found"];
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-types-ghes-3.12/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"octokit": {
"openapi-version": "17.1.0"
"openapi-version": "17.1.1"
}
}
Loading

0 comments on commit 8bd4526

Please sign in to comment.