Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 94 for screenshot (0.05 seconds)

  1. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Input Model in Docs { #input-model-in-docs }
    
    You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### Model for Output { #model-for-output }
    
    But if you use the same model as an output, like here:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/how-to/separate-openapi-schemas.md

    你也可以在文件中檢視輸出模型,`name` 與 `description` 都以紅色星號標示為必填:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image03.png">
    </div>
    
    ### 文件中的輸入與輸出模型 { #model-for-input-and-output-in-docs }
    
    如果你查看 OpenAPI 中所有可用的結構描述(JSON Schema),會看到有兩個:`Item-Input` 與 `Item-Output`。
    
    對於 `Item-Input`,`description` 不是必填,沒有紅色星號。
    
    但對於 `Item-Output`,`description` 是必填,有紅色星號。
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. docs/zh/docs/how-to/separate-openapi-schemas.md

    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image03.png">
    </div>
    
    ### 文档中的输入/输出模型 { #model-for-input-and-output-in-docs }
    
    如果你查看 OpenAPI 中可用的所有 Schema(JSON Schema),你会看到有两个,一个是 `Item-Input`,一个是 `Item-Output`。
    
    对于 `Item-Input`,`description` **不是必填**,没有红色星号。
    
    但对于 `Item-Output`,`description` 是**必填**,带有红色星号。
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. scripts/playwright/json_base64_bytes/image01.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="POST /data Post Data").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/json-base64-bytes/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. 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)
  6. docs/en/docs/css/custom.css

      margin-bottom: 2em;
    }
    
    /* Screenshots */
    /*
    Simulate a browser window frame.
    Inspired by Termynal's CSS tricks with modifications
    */
    
    .screenshot {
      display: block;
      background-color: #d3e0de;
      border-radius: 4px;
      padding: 45px 5px 5px;
      position: relative;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
    }
    
    .screenshot img {
      display: block;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/json-base64-bytes.md

    {* ../../docs_src/json_base64_bytes/tutorial001_py310.py ln[1:9,29:35] hl[9] *}
    
    If you check the `/docs`, they will show that the field `data` expects base64 encoded bytes:
    
    <div class="screenshot">
    <img src="/img/tutorial/json-base64-bytes/image01.png">
    </div>
    
    You could send a request like:
    
    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/request-form-models.md

    ## Check the Docs { #check-the-docs }
    
    You can verify it in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Forbid Extra Form Fields { #forbid-extra-form-fields }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top