Skip to content

Commit f805026

Browse files
authored
feat: add descriptions to members_can_create_pages, members_can_create_public_pages, members_can_create_private_pages (orgs/update) (#36)
1 parent c8a4653 commit f805026

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

cache/openapi-schema.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "2.5.2",
4+
"version": "2.6.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -5412,11 +5412,19 @@
54125412
},
54135413
"members_can_create_pages": {
54145414
"type": "boolean",
5415-
"description": "Toggles whether organization members can create GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create GitHub Pages sites. \n\\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted. \nDefault: `true`. ",
5415+
"description": "Toggles whether organization members can create GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create GitHub Pages sites. \n\\* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.",
5416+
"default": true
5417+
},
5418+
"members_can_create_public_pages": {
5419+
"type": "boolean",
5420+
"description": "Toggles whether organization members can create public GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create public GitHub Pages sites. \n\\* `false` - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted.",
5421+
"default": true
5422+
},
5423+
"members_can_create_private_pages": {
5424+
"type": "boolean",
5425+
"description": "Toggles whether organization members can create private GitHub Pages sites. Can be one of: \n\\* `true` - all organization members can create private GitHub Pages sites. \n\\* `false` - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted.",
54165426
"default": true
54175427
},
5418-
"members_can_create_public_pages": { "type": "boolean" },
5419-
"members_can_create_private_pages": { "type": "boolean" },
54205428
"blog": {
54215429
"type": "string",
54225430
"example": "\"http://github.blog\""

generated/types.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12551,10 +12551,19 @@ export interface operations {
1255112551
* Toggles whether organization members can create GitHub Pages sites. Can be one of:
1255212552
* \* `true` - all organization members can create GitHub Pages sites.
1255312553
* \* `false` - no organization members can create GitHub Pages sites. Existing published sites will not be impacted.
12554-
* Default: `true`.
1255512554
*/
1255612555
members_can_create_pages?: boolean;
12556+
/**
12557+
* Toggles whether organization members can create public GitHub Pages sites. Can be one of:
12558+
* \* `true` - all organization members can create public GitHub Pages sites.
12559+
* \* `false` - no organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
12560+
*/
1255712561
members_can_create_public_pages?: boolean;
12562+
/**
12563+
* Toggles whether organization members can create private GitHub Pages sites. Can be one of:
12564+
* \* `true` - all organization members can create private GitHub Pages sites.
12565+
* \* `false` - no organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
12566+
*/
1255812567
members_can_create_private_pages?: boolean;
1255912568
blog?: string;
1256012569
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"branches": "main"
2424
},
2525
"octokit": {
26-
"openapi-version": "2.5.2"
26+
"openapi-version": "2.6.0"
2727
},
2828
"renovate": {
2929
"extends": [

0 commit comments

Comments
 (0)