Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 767 for Img (0.15 seconds)

  1. docs/ko/docs/tutorial/header-param-models.md

    **FastAPI**는 요청에서 받은 **헤더**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기 { #check-the-docs }
    
    문서 UI `/docs`에서 필요한 헤더를 볼 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 추가 헤더 금지하기 { #forbid-extra-headers }
    
    일부 특별한 사용 사례(흔하지는 않겠지만)에서는 수신하려는 헤더를 **제한**할 수 있습니다.
    
    Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/header-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the required headers in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## Forbid Extra Headers { #forbid-extra-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/query-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the query parameters in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Forbid Extra Query Parameters { #forbid-extra-query-parameters }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/request-form-models.md

    **FastAPI** 将从请求中的**表单数据**中**提取**出**每个字段**的数据,并提供你定义的 Pydantic 模型。
    
    ## 检查文档 { #check-the-docs }
    
    你可以在文档 UI 中验证它,地址为 `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## 禁止额外的表单字段 { #forbid-extra-form-fields }
    
    在某些特殊使用情况下(可能并不常见),你可能希望将表单字段**限制**为仅在 Pydantic 模型中声明过的字段,并**禁止**任何**额外**的字段。
    
    /// note | 注意
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/simple-oauth2.md

    打开交互式文档:[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    ### 身份验证 { #authenticate }
    
    点击“Authorize”按钮。
    
    使用以下凭证:
    
    用户名:`johndoe`
    
    密码:`secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    通过身份验证后,显示下图所示的内容:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### 获取当前用户数据 { #get-your-own-user-data }
    
    使用 `/users/me` 路径的 `GET` 操作。
    
    可以提取如下当前用户数据:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### Example in the docs UI { #example-in-the-docs-ui }
    
    With any of the methods above it would look like this in the `/docs`:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` with multiple `examples` { #body-with-multiple-examples }
    
    You can of course also pass multiple `examples`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. buildscripts/verify-healing-with-root-disks.sh

    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/metadata.md

    你可以按如下方式设置它们:
    
    {* ../../docs_src/metadata/tutorial001_py310.py hl[3:16, 19:32] *}
    
    /// tip | 提示
    
    你可以在 `description` 字段中编写 Markdown,它会在输出中渲染。
    
    ///
    
    通过这样设置,自动 API 文档看起来会像:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 许可证标识符 { #license-identifier }
    
    自 OpenAPI 3.1.0 和 FastAPI 0.99.0 起,你还可以在 `license_info` 中使用 `identifier` 而不是 `url`。
    
    例如:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/security/first-steps.md

    下記のように見えるでしょう:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorizeボタン!
    
    すでにピカピカの新しい「Authorize」ボタンがあります。
    
    そして、あなたの*path operation*には、右上にクリックできる小さな鍵アイコンがあります。
    
    ///
    
    それをクリックすると、`username` と `password`(およびその他のオプションフィールド)を入力する小さな認可フォームが表示されます:
    
    <img src="/img/tutorial/security/image02.png">
    
    /// note | 備考
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/response-status-code.md

    `status_code`は代わりに、Pythonの[`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)のように、`IntEnum`を受け取ることもできます。
    
    ///
    
    これは:
    
    * レスポンスでステータスコードを返します。
    * OpenAPIスキーマ(およびユーザーインターフェース)に以下のように文書化します:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | 備考
    
    いくつかのレスポンスコード(次のセクションを参照)は、レスポンスにボディがないことを示しています。
    
    FastAPIはこれを知っていて、レスポンスボディがないというOpenAPIドキュメントを生成します。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.6K bytes
    - Click Count (0)
Back to Top