- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,560 for respond (0.04 sec)
-
docs/pt/docs/tutorial/response-status-code.md
/// Dessa forma: * Este código de status será retornado na resposta. * Será documentado como tal no esquema OpenAPI (e, portanto, nas interfaces do usuário): <img src="/img/tutorial/response-status-code/image01.png"> /// note | "Nota" Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/tutorial/response-status-code.md
/// It will: * Return that status code in the response. * Document it as such in the OpenAPI schema (and so, in the user interfaces): <img src="/img/tutorial/response-status-code/image01.png"> /// note Some response codes (see the next section) indicate that the response does not have a body. FastAPI knows this, and will produce OpenAPI docs that state there is no response body. /// ## About HTTP status codes
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
## ドキュメントを見る 自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます。 <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png"> そして、両方のモデルは、対話型のAPIドキュメントに使用されます: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## レスポンスモデルのエンコーディングパラメータ レスポンスモデルにはデフォルト値を設定することができます: ```Python hl_lines="11 13 14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다. ## 문서에서 보기 자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON 스키마를 가지고 있음을 확인할 수 있습니다: <img src="/img/tutorial/response-model/image01.png"> 그리고 두 모델 모두 대화형 API 문서에 사용됩니다: <img src="/img/tutorial/response-model/image02.png"> ## 응답 모델 인코딩 매개변수 응답 모델은 아래와 같이 기본값을 가질 수 있습니다: ```Python hl_lines="11 13-14" {!../../docs_src/response_model/tutorial004.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies and headers). And then you can set the `status_code` in that *temporal* response object. ```Python hl_lines="1 9 12" {!../../docs_src/response_change_status_code/tutorial001.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/em/docs/advanced/response-change-status-code.md
👆 🎲 ✍ ⏭ 👈 👆 💪 ⚒ 🔢 [📨 👔 📟](../tutorial/response-status-code.md){.internal-link target=_blank}. ✋️ 💼 👆 💪 📨 🎏 👔 📟 🌘 🔢. ## ⚙️ 💼 🖼, 🌈 👈 👆 💚 📨 🇺🇸🔍 👔 📟 "👌" `200` 🔢. ✋️ 🚥 💽 🚫 🔀, 👆 💚 ✍ ⚫️, & 📨 🇺🇸🔍 👔 📟 "✍" `201`. ✋️ 👆 💚 💪 ⛽ & 🗜 💽 👆 📨 ⏮️ `response_model`. 📚 💼, 👆 💪 ⚙️ `Response` 🔢. ## ⚙️ `Response` 🔢 👆 💪 📣 🔢 🆎 `Response` 👆 *➡ 🛠️ 🔢* (👆 💪 🍪 & 🎚).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.2K bytes - Viewed (0) -
docs/pt/docs/advanced/response-change-status-code.md
Mas você ainda quer ser capaz de filtrar e converter o dado que você retornará com um `response_model`. Para estes casos, você pode utilizar um parâmetro `Response`. ## Use um parâmetro `Response` Você pode declarar um parâmetro do tipo `Response` em sua *função de operação de rota* (assim como você pode fazer para cookies e headers). E então você pode definir o `status_code` neste objeto de retorno temporal.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
/// Das wird: * Diesen Statuscode mit der Response zurücksenden. * Ihn als solchen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen): <img src="/img/tutorial/response-status-code/image01.png"> /// note | "Hinweis" Einige Responsecodes (siehe nächster Abschnitt) kennzeichnen, dass die Response keinen Body hat.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:59:43 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-status-code.md
``` 这只是一种快捷方式,具有相同的数字代码,但它可以使用编辑器的自动补全功能: <img src="../../../../../../img/tutorial/response-status-code/image02.png"> /// note | "技术细节" 也可以使用 `from starlette import status`。 为了让开发者更方便,**FastAPI** 提供了与 `starlette.status` 完全相同的 `fastapi.status`。但它直接来自于 Starlette。 /// ## 更改默认状态码
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-status-code.md
<img src="https://fastapi.tiangolo.com/img/tutorial/response-status-code/image02.png"> /// note | "기술적 세부사항" `from starlette import status` 역시 사용할 수 있습니다. **FastAPI**는 개발자인 여러분의 편의를 위해 `fastapi.status` 와 동일한 `starlette.status` 도 제공합니다. 하지만 이것은 Starlette로부터 직접 제공됩니다. /// ## 기본값 변경
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.8K bytes - Viewed (0)