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
Loading

0 comments on commit 8bd4526

Please sign in to comment.