Skip to content

Commit

Permalink
Update OpenAPI Descriptions (github#23705)
Browse files Browse the repository at this point in the history
* Update OpenAPI  Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: github-openapi-bot <[email protected]>
Co-authored-by: Laura Coursen <[email protected]>
  • Loading branch information
3 people authored Dec 15, 2021
1 parent 2d336bb commit c60c01d
Show file tree
Hide file tree
Showing 12 changed files with 450 additions and 18 deletions.
24 changes: 22 additions & 2 deletions lib/rest/static/decorated/api.github.com.json

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions lib/rest/static/decorated/ghes-3.0.json

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions lib/rest/static/decorated/ghes-3.1.json

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions lib/rest/static/decorated/ghes-3.2.json

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions lib/rest/static/decorated/ghes-3.3.json

Large diffs are not rendered by default.

24 changes: 22 additions & 2 deletions lib/rest/static/decorated/github.ae.json

Large diffs are not rendered by default.

54 changes: 53 additions & 1 deletion lib/rest/static/dereferenced/api.github.com.deref.json
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
54 changes: 53 additions & 1 deletion lib/rest/static/dereferenced/ghes-3.0.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -55198,6 +55198,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 @@ -55281,7 +55286,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 @@ -55433,6 +55439,11 @@
"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.",
"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 @@ -55681,6 +55692,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 @@ -55763,6 +55779,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 @@ -82405,6 +82422,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 @@ -83034,6 +83056,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 @@ -83640,6 +83667,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 @@ -319427,6 +319459,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 @@ -320030,6 +320067,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 @@ -320523,6 +320565,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 @@ -354510,6 +354557,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
Loading

0 comments on commit c60c01d

Please sign in to comment.