Skip to content

Commit

Permalink
Merge pull request #794 from github/openapi-update-40acd7530fc9b5bcb3…
Browse files Browse the repository at this point in the history
…90a16a5caea6ad1331916e86f38aca9f1e66d8922e62f8

Update OpenAPI 3.0 Descriptions
  • Loading branch information
becco authored Dec 15, 2021
2 parents 1f58a78 + fbf6943 commit aa58442
Show file tree
Hide file tree
Showing 24 changed files with 564 additions and 12 deletions.
14 changes: 13 additions & 1 deletion descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -7295,6 +7295,11 @@
"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.",
"default": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"description": "Toggles whether organization members can fork private organization repositories. Can be one of: \n\\* `true` - all organization members can fork private repositories within the organization. \n\\* `false` - no organization members can fork private repositories within the organization.",
"default": false
},
"blog": {
"type": "string",
"example": "\"http://github.blog\""
Expand Down Expand Up @@ -59776,6 +59781,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -80412,7 +80422,8 @@
"members_can_create_public_repositories": false,
"members_can_create_private_repositories": false,
"members_can_create_internal_repositories": false,
"members_can_create_pages": true
"members_can_create_pages": true,
"members_can_fork_private_repositories": false
}
},
"organization-full": {
Expand Down Expand Up @@ -80466,6 +80477,7 @@
"members_can_create_pages": true,
"members_can_create_public_pages": true,
"members_can_create_private_pages": true,
"members_can_fork_private_repositories": false,
"updated_at": "2014-03-03T18:58:10Z"
}
},
Expand Down
14 changes: 14 additions & 0 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5194,6 +5194,14 @@ paths:
- no organization members can create private GitHub Pages sites.
Existing published sites will not be impacted."
default: true
members_can_fork_private_repositories:
type: boolean
description: "Toggles whether organization members can fork private
organization repositories. Can be one of: \n\\* `true` - all
organization members can fork private repositories within the
organization. \n\\* `false` - no organization members can fork
private repositories within the organization."
default: false
blog:
type: string
example: '"http://github.blog"'
Expand Down Expand Up @@ -43283,6 +43291,10 @@ components:
members_can_create_private_pages:
type: boolean
example: true
members_can_fork_private_repositories:
type: boolean
example: false
nullable: true
updated_at:
type: string
format: date-time
Expand Down Expand Up @@ -59215,6 +59227,7 @@ components:
members_can_create_private_repositories: false
members_can_create_internal_repositories: false
members_can_create_pages: true
members_can_fork_private_repositories: false
organization-full:
value:
login: github
Expand Down Expand Up @@ -59265,6 +59278,7 @@ components:
members_can_create_pages: true
members_can_create_public_pages: true
members_can_create_private_pages: true
members_can_fork_private_repositories: false
updated_at: '2014-03-03T18:58:10Z'
actions-organization-permissions:
value:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52022,6 +52022,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -52105,7 +52110,8 @@
"members_can_create_public_repositories": false,
"members_can_create_private_repositories": false,
"members_can_create_internal_repositories": false,
"members_can_create_pages": true
"members_can_create_pages": true,
"members_can_fork_private_repositories": false
}
}
}
Expand Down Expand Up @@ -52262,6 +52268,11 @@
"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.",
"default": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"description": "Toggles whether organization members can fork private organization repositories. Can be one of: \n\\* `true` - all organization members can fork private repositories within the organization. \n\\* `false` - no organization members can fork private repositories within the organization.",
"default": false
},
"blog": {
"type": "string",
"example": "\"http://github.blog\""
Expand Down Expand Up @@ -52510,6 +52521,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -52592,6 +52608,7 @@
"members_can_create_pages": true,
"members_can_create_public_pages": true,
"members_can_create_private_pages": true,
"members_can_fork_private_repositories": false,
"updated_at": "2014-03-03T18:58:10Z"
}
}
Expand Down Expand Up @@ -98678,6 +98695,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -99308,6 +99330,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -99915,6 +99942,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -372798,6 +372830,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -373402,6 +373439,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -373896,6 +373938,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -443795,6 +443842,11 @@
"type": "boolean",
"example": true
},
"members_can_fork_private_repositories": {
"type": "boolean",
"example": false,
"nullable": true
},
"updated_at": {
"type": "string",
"format": "date-time"
Expand Down
14 changes: 14 additions & 0 deletions descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11309,6 +11309,10 @@ paths:
members_can_create_private_pages:
type: boolean
example: true
members_can_fork_private_repositories:
type: boolean
example: false
nullable: true
updated_at:
type: string
format: date-time
Expand Down Expand Up @@ -11388,6 +11392,7 @@ paths:
members_can_create_private_repositories: false
members_can_create_internal_repositories: false
members_can_create_pages: true
members_can_fork_private_repositories: false
'404': *16
x-github:
githubCloudOnly: false
Expand Down Expand Up @@ -11539,6 +11544,14 @@ paths:
- no organization members can create private GitHub Pages sites.
Existing published sites will not be impacted."
default: true
members_can_fork_private_repositories:
type: boolean
description: "Toggles whether organization members can fork private
organization repositories. Can be one of: \n\\* `true` - all
organization members can fork private repositories within the
organization. \n\\* `false` - no organization members can fork
private repositories within the organization."
default: false
blog:
type: string
example: '"http://github.blog"'
Expand Down Expand Up @@ -11610,6 +11623,7 @@ paths:
members_can_create_pages: true
members_can_create_public_pages: true
members_can_create_private_pages: true
members_can_fork_private_repositories: false
updated_at: '2014-03-03T18:58:10Z'
'422':
description: Validation failed
Expand Down
Loading

0 comments on commit aa58442

Please sign in to comment.