From 5cc58ea7e335b4b45b0a17c4bb2caa95c8ee3d7e Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Tue, 28 Jan 2025 22:02:53 +0000 Subject: [PATCH] Automated spec update (91178) --- specs/openapi.json | 77 ++++++++++++++++++++++++++++++++++++++ specs/openapi_preview.json | 77 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 154 insertions(+) diff --git a/specs/openapi.json b/specs/openapi.json index 4a0a507..2297c74 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -274,6 +274,36 @@ ] } }, + "/oauth2/userinfo": { + "get": { + "operationId": "get_openid_connect_userinfo", + "responses": { + "200": { + "description": "200 response for get_openid_connect_userinfo", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OAuth2GetOpenIDConnectUserInfoResponse" + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + }, + { + "OAuth2": [ + "openid" + ] + } + ] + } + }, "/oauth2/keys": { "get": { "operationId": "get_public_keys", @@ -25352,6 +25382,53 @@ "keys" ] }, + "OAuth2GetOpenIDConnectUserInfoResponse": { + "type": "object", + "properties": { + "sub": { + "type": "string" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "email_verified": { + "type": [ + "boolean", + "null" + ] + }, + "preferred_username": { + "type": [ + "string", + "null" + ] + }, + "nickname": { + "type": [ + "string", + "null" + ] + }, + "picture": { + "type": [ + "string", + "null" + ] + }, + "locale": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "sub" + ] + }, "OAuth2Key": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 10f12af..7552e45 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -274,6 +274,36 @@ ] } }, + "/oauth2/userinfo": { + "get": { + "operationId": "get_openid_connect_userinfo", + "responses": { + "200": { + "description": "200 response for get_openid_connect_userinfo", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OAuth2GetOpenIDConnectUserInfoResponse" + } + } + } + }, + "4XX": { + "$ref": "#/components/responses/ClientErrorResponse" + } + }, + "security": [ + { + "BotToken": [] + }, + { + "OAuth2": [ + "openid" + ] + } + ] + } + }, "/oauth2/keys": { "get": { "operationId": "get_public_keys", @@ -25437,6 +25467,53 @@ "keys" ] }, + "OAuth2GetOpenIDConnectUserInfoResponse": { + "type": "object", + "properties": { + "sub": { + "type": "string" + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "email_verified": { + "type": [ + "boolean", + "null" + ] + }, + "preferred_username": { + "type": [ + "string", + "null" + ] + }, + "nickname": { + "type": [ + "string", + "null" + ] + }, + "picture": { + "type": [ + "string", + "null" + ] + }, + "locale": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "sub" + ] + }, "OAuth2Key": { "type": "object", "properties": {