Skip to content

Commit 10f7f28

Browse files
Updating OpenAPI descriptions (#17209)
* Updating OpenAPI descriptions * Add decorated OpenAPI schema files Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
1 parent f2584e7 commit 10f7f28

14 files changed

Lines changed: 126 additions & 7 deletions

lib/rest/static/decorated/api.github.com.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.18.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.19.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.20.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.21.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.22.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/decorated/github.ae.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143202,6 +143202,10 @@
143202143202
"format": "date-time",
143203143203
"example": "2016-06-13T14:52:50-05:00"
143204143204
},
143205+
"expired": {
143206+
"description": "Whether or not the invitation has expired",
143207+
"type": "boolean"
143208+
},
143205143209
"url": {
143206143210
"description": "URL for the repository invitation",
143207143211
"example": "https://api.github.com/user/repository-invitations/1",
@@ -181073,6 +181077,10 @@
181073181077
"format": "date-time",
181074181078
"example": "2016-06-13T14:52:50-05:00"
181075181079
},
181080+
"expired": {
181081+
"description": "Whether or not the invitation has expired",
181082+
"type": "boolean"
181083+
},
181076181084
"url": {
181077181085
"description": "URL for the repository invitation",
181078181086
"example": "https://api.github.com/user/repository-invitations/1",
@@ -183057,6 +183065,10 @@
183057183065
"format": "date-time",
183058183066
"example": "2016-06-13T14:52:50-05:00"
183059183067
},
183068+
"expired": {
183069+
"description": "Whether or not the invitation has expired",
183070+
"type": "boolean"
183071+
},
183060183072
"url": {
183061183073
"description": "URL for the repository invitation",
183062183074
"example": "https://api.github.com/user/repository-invitations/1",
@@ -183198,6 +183210,7 @@
183198183210
},
183199183211
"permissions": "write",
183200183212
"created_at": "2016-06-13T14:52:50-05:00",
183213+
"expired": false,
183201183214
"url": "https://api.github.com/user/repository_invitations/1296269",
183202183215
"html_url": "https://github.com/octocat/Hello-World/invitations"
183203183216
}
@@ -310744,6 +310757,10 @@
310744310757
"format": "date-time",
310745310758
"example": "2016-06-13T14:52:50-05:00"
310746310759
},
310760+
"expired": {
310761+
"description": "Whether or not the invitation has expired",
310762+
"type": "boolean"
310763+
},
310747310764
"url": {
310748310765
"description": "URL for the repository invitation",
310749310766
"example": "https://api.github.com/user/repository-invitations/1",

lib/rest/static/dereferenced/ghes-2.18.deref.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89262,6 +89262,10 @@
8926289262
"format": "date-time",
8926389263
"example": "2016-06-13T14:52:50-05:00"
8926489264
},
89265+
"expired": {
89266+
"description": "Whether or not the invitation has expired",
89267+
"type": "boolean"
89268+
},
8926589269
"url": {
8926689270
"description": "URL for the repository invitation",
8926789271
"example": "https://api.github.com/user/repository-invitations/1",
@@ -123940,6 +123944,10 @@
123940123944
"format": "date-time",
123941123945
"example": "2016-06-13T14:52:50-05:00"
123942123946
},
123947+
"expired": {
123948+
"description": "Whether or not the invitation has expired",
123949+
"type": "boolean"
123950+
},
123943123951
"url": {
123944123952
"description": "URL for the repository invitation",
123945123953
"example": "https://api.github.com/user/repository-invitations/1",
@@ -125901,6 +125909,10 @@
125901125909
"format": "date-time",
125902125910
"example": "2016-06-13T14:52:50-05:00"
125903125911
},
125912+
"expired": {
125913+
"description": "Whether or not the invitation has expired",
125914+
"type": "boolean"
125915+
},
125904125916
"url": {
125905125917
"description": "URL for the repository invitation",
125906125918
"example": "https://api.github.com/user/repository-invitations/1",
@@ -126042,6 +126054,7 @@
126042126054
},
126043126055
"permissions": "write",
126044126056
"created_at": "2016-06-13T14:52:50-05:00",
126057+
"expired": false,
126045126058
"url": "https://api.github.com/user/repository_invitations/1296269",
126046126059
"html_url": "https://github.com/octocat/Hello-World/invitations"
126047126060
}
@@ -240472,6 +240485,10 @@
240472240485
"format": "date-time",
240473240486
"example": "2016-06-13T14:52:50-05:00"
240474240487
},
240488+
"expired": {
240489+
"description": "Whether or not the invitation has expired",
240490+
"type": "boolean"
240491+
},
240475240492
"url": {
240476240493
"description": "URL for the repository invitation",
240477240494
"example": "https://api.github.com/user/repository-invitations/1",

lib/rest/static/dereferenced/ghes-2.19.deref.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92216,6 +92216,10 @@
9221692216
"format": "date-time",
9221792217
"example": "2016-06-13T14:52:50-05:00"
9221892218
},
92219+
"expired": {
92220+
"description": "Whether or not the invitation has expired",
92221+
"type": "boolean"
92222+
},
9221992223
"url": {
9222092224
"description": "URL for the repository invitation",
9222192225
"example": "https://api.github.com/user/repository-invitations/1",
@@ -127116,6 +127120,10 @@
127116127120
"format": "date-time",
127117127121
"example": "2016-06-13T14:52:50-05:00"
127118127122
},
127123+
"expired": {
127124+
"description": "Whether or not the invitation has expired",
127125+
"type": "boolean"
127126+
},
127119127127
"url": {
127120127128
"description": "URL for the repository invitation",
127121127129
"example": "https://api.github.com/user/repository-invitations/1",
@@ -129077,6 +129085,10 @@
129077129085
"format": "date-time",
129078129086
"example": "2016-06-13T14:52:50-05:00"
129079129087
},
129088+
"expired": {
129089+
"description": "Whether or not the invitation has expired",
129090+
"type": "boolean"
129091+
},
129080129092
"url": {
129081129093
"description": "URL for the repository invitation",
129082129094
"example": "https://api.github.com/user/repository-invitations/1",
@@ -129218,6 +129230,7 @@
129218129230
},
129219129231
"permissions": "write",
129220129232
"created_at": "2016-06-13T14:52:50-05:00",
129233+
"expired": false,
129221129234
"url": "https://api.github.com/user/repository_invitations/1296269",
129222129235
"html_url": "https://github.com/octocat/Hello-World/invitations"
129223129236
}
@@ -243680,6 +243693,10 @@
243680243693
"format": "date-time",
243681243694
"example": "2016-06-13T14:52:50-05:00"
243682243695
},
243696+
"expired": {
243697+
"description": "Whether or not the invitation has expired",
243698+
"type": "boolean"
243699+
},
243683243700
"url": {
243684243701
"description": "URL for the repository invitation",
243685243702
"example": "https://api.github.com/user/repository-invitations/1",

0 commit comments

Comments
 (0)