mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05:00
update openapi.json
This commit is contained in:
@@ -2919,7 +2919,11 @@
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": { "application/json": { "schema": {} } }
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": { "$ref": "#/components/schemas/GoogleLoginResponse" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2928,7 +2932,7 @@
|
||||
"get": {
|
||||
"tags": ["auth", "auth"],
|
||||
"summary": "Google Callback",
|
||||
"description": "Handle Google OAuth callback.\n\nExchanges the authorization code for user info and creates/updates the user.\nReturns tokens or redirects to frontend with tokens.",
|
||||
"description": "Handle Google OAuth callback.\n\nExchanges the authorization code for user info and creates/updates the user.\nReturns access and refresh tokens.",
|
||||
"operationId": "getAuthGoogleCallback",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -2950,7 +2954,13 @@
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": { "application/json": { "schema": {} } }
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/backend__server__auth__routes__TokenResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error",
|
||||
@@ -7302,6 +7312,13 @@
|
||||
],
|
||||
"title": "ExecutionAnalyticsResult"
|
||||
},
|
||||
"GoogleLoginResponse": {
|
||||
"properties": { "url": { "type": "string", "title": "Url" } },
|
||||
"type": "object",
|
||||
"required": ["url"],
|
||||
"title": "GoogleLoginResponse",
|
||||
"description": "Response model for Google OAuth login initiation."
|
||||
},
|
||||
"Graph": {
|
||||
"properties": {
|
||||
"id": { "type": "string", "title": "Id" },
|
||||
|
||||
Reference in New Issue
Block a user