From e58fdd9ae598d3b59b160aaf5ae08a5ad593f3ec Mon Sep 17 00:00:00 2001 From: Carlos Mario Toro <41237977+cmtoro@users.noreply.github.com> Date: Thu, 17 Jul 2025 18:40:21 -0500 Subject: [PATCH] Update fastapi/applications.py Co-authored-by: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> --- fastapi/applications.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fastapi/applications.py b/fastapi/applications.py index c139e7f3c..1fad0b68d 100644 --- a/fastapi/applications.py +++ b/fastapi/applications.py @@ -814,9 +814,8 @@ class FastAPI(Starlette): Optional[Dict[str, Any]], Doc( """ - This field allows you to provide additional external documentation links - for an API operation or component. It’s an optional field and can be added - to an operation or a tag. If provided, it must be a dictionary containing: + This field allows you to provide additional external documentation links. + If provided, it must be a dictionary containing: * `description`: A brief description of the external documentation, which may use [CommonMark syntax](https://commonmark.org/) for rich text formatting.