From 7039a5fc3ac710e56ea927a38ef86677323cb387 Mon Sep 17 00:00:00 2001 From: Nate Barbettini Date: Mon, 17 Mar 2025 11:11:13 -0700 Subject: [PATCH] feat: Add auth challenge schema --- .redocly.lint-ignore.yaml | 2 ++ spec/http/1.0/openapi.json | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.redocly.lint-ignore.yaml b/.redocly.lint-ignore.yaml index aedb6a0..b2cedd6 100644 --- a/.redocly.lint-ignore.yaml +++ b/.redocly.lint-ignore.yaml @@ -6,3 +6,5 @@ spec/http/1.0/openapi.json: operation-4xx-response: - '#/paths/~1health/get/responses' - '#/paths/~1tools/get/responses' + no-unused-components: + - '#/components/schemas/AuthorizationChallengeCheckResponse' diff --git a/spec/http/1.0/openapi.json b/spec/http/1.0/openapi.json index 6388641..a6bcf19 100644 --- a/spec/http/1.0/openapi.json +++ b/spec/http/1.0/openapi.json @@ -477,6 +477,18 @@ "required": ["id", "url"], "additionalProperties": false }, + "AuthorizationChallengeCheckResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The status of the authorization challenge.", + "enum": ["pending", "completed", "failed"] + } + }, + "required": ["status"], + "additionalProperties": true + }, "ToolError": { "type": "object", "description": "An error that occurred inside the tool function.",