- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 80 for screenshot (0.16 seconds)
-
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) -
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) -
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) -
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) -
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=" } ``` /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.4K bytes - Click Count (0) -
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) -
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) -
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 } 일부 특별한 사용 사례(흔하지는 않겠지만)에서는 수신하려는 헤더를 **제한**할 수 있습니다.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) -
docs/zh-hant/docs/tutorial/cookie-param-models.md
**FastAPI** 會從請求收到的 **Cookie** 中擷取 **每個欄位** 的資料,並交給你定義的 Pydantic 模型。 ## 查看文件 { #check-the-docs } 你可以在 `/docs` 的文件介面中看到已定義的 Cookie: <div class="screenshot"> <img src="/img/tutorial/cookie-param-models/image01.png"> </div> /// info 請注意,由於**瀏覽器會以特殊且在背景進行的方式處理 Cookie**,因此**不會**輕易允許 **JavaScript** 存取它們。 當你前往位於 `/docs` 的 **API 文件介面**時,可以看到路徑操作的 Cookie 說明。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/header-param-models.md
{* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *} FastAPI 會從請求的標頭為每個欄位擷取資料,並交給你已定義的 Pydantic 模型實例。 ## 檢視文件 { #check-the-docs } 你可以在 `/docs` 的文件介面看到所需的標頭: <div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 禁止額外標頭 { #forbid-extra-headers } 在某些特殊情境(可能不常見)下,你可能想限制允許接收的標頭。 你可以使用 Pydantic 的模型設定來 `forbid` 任何 `extra` 欄位:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 2.3K bytes - Click Count (0)