From c944ba2775ee9eea349fd20a54173833fb941476 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 07:10:12 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- docs/de/docs/advanced/additional-responses.md | 2 +- docs/de/docs/advanced/additional-status-codes.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2d9b6aa400..742497f964 100644 --- a/README.md +++ b/README.md @@ -103,4 +103,4 @@ FastAPI is licensed under the MIT License. See the `LICENSE` file for the full t --- -*FastAPI – The modern, fast (high‑performance) web framework for building APIs with Python.* \ No newline at end of file +*FastAPI – The modern, fast (high‑performance) web framework for building APIs with Python.* diff --git a/docs/de/docs/advanced/additional-responses.md b/docs/de/docs/advanced/additional-responses.md index 0d13221f35..fd619c510e 100644 --- a/docs/de/docs/advanced/additional-responses.md +++ b/docs/de/docs/advanced/additional-responses.md @@ -2,7 +2,7 @@ !!! warning "Achtung" Dies ist ein eher fortgeschrittenes Thema. - + Wenn Sie mit **FastAPI** beginnen, benötigen Sie dies möglicherweise nicht. FastAPI erlaubt es, zusätzliche **Responses** zu deklarieren, die nicht nur den Standard‑`200`‑Success‑Response abdecken. Diese können weitere HTTP‑Statuscodes, unterschiedliche Medientypen, detaillierte Beschreibungen und sogar benutzerdefinierte Header enthalten. Alle zusätzlichen Responses werden automatisch in das OpenAPI‑Schema eingefügt, sodass sie in der automatisch generierten API‑Dokumentation (Swagger UI / ReDoc) sichtbar sind. diff --git a/docs/de/docs/advanced/additional-status-codes.md b/docs/de/docs/advanced/additional-status-codes.md index d9da7eb234..80b5d360f5 100644 --- a/docs/de/docs/advanced/additional-status-codes.md +++ b/docs/de/docs/advanced/additional-status-codes.md @@ -18,7 +18,7 @@ app = FastAPI() @app.put("/items/{item_id}") async def upsert_item(item_id: int): """Aktualisiert ein Item, legt es aber an, falls es noch nicht existiert. - + * Wenn das Item bereits existiert → Rückgabe von 200 OK. * Wenn das Item neu erstellt wird → Rückgabe von 201 Created. """ @@ -95,4 +95,4 @@ async def upsert_item(item_id: int): --- -*Dieses Dokument wurde aus dem aktuellen Stand der FastAPI‑Codebasis generiert und spiegelt die empfohlenen Praktiken für das Arbeiten mit zusätzlichen HTTP‑Statuscodes wider.* \ No newline at end of file +*Dieses Dokument wurde aus dem aktuellen Stand der FastAPI‑Codebasis generiert und spiegelt die empfohlenen Praktiken für das Arbeiten mit zusätzlichen HTTP‑Statuscodes wider.*