From a53fd4f29dc79151b369ddf888667d7d2fb0dfad Mon Sep 17 00:00:00 2001 From: Carlos Mario Toro <41237977+cmtoro@users.noreply.github.com> Date: Thu, 31 Jul 2025 20:22:37 -0500 Subject: [PATCH] Update test_openapi_examples.py --- tests/test_openapi_examples.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/test_openapi_examples.py b/tests/test_openapi_examples.py index 85b74aa43..b3f83ae23 100644 --- a/tests/test_openapi_examples.py +++ b/tests/test_openapi_examples.py @@ -5,12 +5,7 @@ from fastapi import Body, Cookie, FastAPI, Header, Path, Query from fastapi.testclient import TestClient from pydantic import BaseModel -external_docs = { - "description": "External API documentation.", - "url": "https://docs.example.com/api-general", -} - -app = FastAPI(openapi_external_docs=external_docs) +app = FastAPI() class Item(BaseModel): @@ -473,8 +468,4 @@ def test_openapi_schema(): }, } }, - "externalDocs": { - "description": "External API documentation.", - "url": "https://docs.example.com/api-general", - }, }