Skip to content

Commit e13f1c0

Browse files
committed
feat(openapi.json): Add Oauth2AuthenticationSession and update XAiCredential
This commit introduces a new object, Oauth2AuthenticationSession, which includes properties for the OAuth2 access token and its expiration. It also updates the XAiCredential schema to include an "authenticationSession" field, providing details about the authentication plan.
1 parent 652d4b4 commit e13f1c0

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

fern/apis/api/openapi.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15580,6 +15580,20 @@
1558015580
"clientSecret"
1558115581
]
1558215582
},
15583+
"Oauth2AuthenticationSession": {
15584+
"type": "object",
15585+
"properties": {
15586+
"accessToken": {
15587+
"type": "string",
15588+
"description": "This is the OAuth2 access token."
15589+
},
15590+
"expiresAt": {
15591+
"format": "date-time",
15592+
"type": "string",
15593+
"description": "This is the OAuth2 access token expiration."
15594+
}
15595+
}
15596+
},
1558315597
"CustomLLMCredential": {
1558415598
"type": "object",
1558515599
"properties": {
@@ -15620,6 +15634,14 @@
1562015634
"type": "string",
1562115635
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
1562215636
},
15637+
"authenticationSession": {
15638+
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
15639+
"allOf": [
15640+
{
15641+
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
15642+
}
15643+
]
15644+
},
1562315645
"name": {
1562415646
"type": "string",
1562515647
"description": "This is the name of credential. This is just for your reference.",
@@ -16928,6 +16950,14 @@
1692816950
"type": "string",
1692916951
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
1693016952
},
16953+
"authenticationSession": {
16954+
"description": "This is the authentication session for the credential. Available for credentials that have an authentication plan.",
16955+
"allOf": [
16956+
{
16957+
"$ref": "#/components/schemas/Oauth2AuthenticationSession"
16958+
}
16959+
]
16960+
},
1693116961
"name": {
1693216962
"type": "string",
1693316963
"description": "This is the name of credential. This is just for your reference.",
@@ -16941,7 +16971,8 @@
1694116971
"id",
1694216972
"orgId",
1694316973
"createdAt",
16944-
"updatedAt"
16974+
"updatedAt",
16975+
"authenticationSession"
1694516976
]
1694616977
},
1694716978
"XAiCredential": {

0 commit comments

Comments
 (0)