Skip to content

Commit ab1b684

Browse files
Update OpenAPI Descriptions
1 parent f7680ea commit ab1b684

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59245,13 +59245,21 @@
5924559245
"nullable": true,
5924659246
"example": "my token",
5924759247
"description": "The note given to the token. This will only be present when the credential is a token."
59248+
},
59249+
"authorized_credential_expires_at": {
59250+
"type": "string",
59251+
"format": "date-time",
59252+
"nullable": true,
59253+
"description": "The expiry for the token. This will only be present when the credential is a token."
5924859254
}
5924959255
},
5925059256
"required": [
5925159257
"login",
5925259258
"credential_id",
5925359259
"credential_type",
59254-
"credential_authorized_at"
59260+
"credential_authorized_at",
59261+
"credential_accessed_at",
59262+
"authorized_credential_id"
5925559263
]
5925659264
},
5925759265
"organization-invitation": {

descriptions/api.github.com/api.github.com.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42228,11 +42228,19 @@ components:
4222842228
example: my token
4222942229
description: The note given to the token. This will only be present when
4223042230
the credential is a token.
42231+
authorized_credential_expires_at:
42232+
type: string
42233+
format: date-time
42234+
nullable: true
42235+
description: The expiry for the token. This will only be present when the
42236+
credential is a token.
4223142237
required:
4223242238
- login
4223342239
- credential_id
4223442240
- credential_type
4223542241
- credential_authorized_at
42242+
- credential_accessed_at
42243+
- authorized_credential_id
4223642244
organization-invitation:
4223742245
title: Organization Invitation
4223842246
description: Organization Invitation

descriptions/api.github.com/dereferenced/api.github.com.deref.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63099,13 +63099,21 @@
6309963099
"nullable": true,
6310063100
"example": "my token",
6310163101
"description": "The note given to the token. This will only be present when the credential is a token."
63102+
},
63103+
"authorized_credential_expires_at": {
63104+
"type": "string",
63105+
"format": "date-time",
63106+
"nullable": true,
63107+
"description": "The expiry for the token. This will only be present when the credential is a token."
6310263108
}
6310363109
},
6310463110
"required": [
6310563111
"login",
6310663112
"credential_id",
6310763113
"credential_type",
63108-
"credential_authorized_at"
63114+
"credential_authorized_at",
63115+
"credential_accessed_at",
63116+
"authorized_credential_id"
6310963117
]
6311063118
}
6311163119
},

descriptions/api.github.com/dereferenced/api.github.com.deref.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15312,11 +15312,19 @@ paths:
1531215312
example: my token
1531315313
description: The note given to the token. This will only be
1531415314
present when the credential is a token.
15315+
authorized_credential_expires_at:
15316+
type: string
15317+
format: date-time
15318+
nullable: true
15319+
description: The expiry for the token. This will only be present
15320+
when the credential is a token.
1531515321
required:
1531615322
- login
1531715323
- credential_id
1531815324
- credential_type
1531915325
- credential_authorized_at
15326+
- credential_accessed_at
15327+
- authorized_credential_id
1532015328
examples:
1532115329
default:
1532215330
value:

0 commit comments

Comments
 (0)