Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,510 for EXAMPLE (0.11 seconds)

  1. docs/en/docs/tutorial/schema-extra-example.md

    The keys of the `dict` identify each example, and each value is another `dict`.
    
    Each specific example `dict` in the `examples` can contain:
    
    * `summary`: Short description for the example.
    * `description`: A long description that can contain Markdown text.
    * `value`: This is the actual example shown, e.g. a `dict`.
    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)
  2. docs/federation/lookup/Corefile.example

    Ashish Kumar Sinha <******@****.***> 1569948788 +0530
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 01 16:53:08 GMT 2019
    - 216 bytes
    - Click Count (0)
  3. docs/screenshots/Example-2.png

    Example-2.png...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 09 02:22:34 GMT 2017
    - 105.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/schema-extra-example.md

    例如,你可以用它為前端使用者介面新增中繼資料等。
    
    ///
    
    /// info
    
    OpenAPI 3.1.0(自 FastAPI 0.99.0 起使用)新增了對 `examples` 的支援,這是 **JSON Schema** 標準的一部分。
    
    在那之前,只支援使用單一範例的關鍵字 `example`。OpenAPI 3.1.0 仍然支援 `example`,但它已被棄用,且不是 JSON Schema 標準的一部分。因此建議你將 `example` 遷移為 `examples`。🤓
    
    你可以在本頁結尾閱讀更多。
    
    ///
    
    ## `Field` 其他參數 { #field-additional-arguments }
    
    在 Pydantic 模型中使用 `Field()` 時,你也可以宣告額外的 `examples`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. docs/screenshots/Example-1.png

    Example-1.png...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 09 02:22:34 GMT 2017
    - 97.2K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/schema-extra-example.md

    # リクエストのExampleデータの宣言 { #declare-request-example-data }
    
    アプリが受け取れるデータの例を宣言できます。
    
    ここでは、それを行ういくつかの方法を紹介します。
    
    ## Pydanticモデルでの追加JSON Schemaデータ { #extra-json-schema-data-in-pydantic-models }
    
    生成されるJSON Schemaに追加されるPydanticモデルの`examples`を宣言できます。
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    その追加情報は、そのモデルの出力**JSON Schema**にそのまま追加され、APIドキュメントで使用されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. docs/screenshots/Example-3.png

    Example-3.png...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 09 02:22:34 GMT 2017
    - 265.4K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/schema-extra-example.md

    你也可以用同样的技巧扩展 JSON Schema,添加你自己的自定义额外信息。
    
    例如,你可以用它为前端用户界面添加元数据等。
    
    ///
    
    /// info | 信息
    
    OpenAPI 3.1.0(自 FastAPI 0.99.0 起使用)增加了对 `examples` 的支持,它是 JSON Schema 标准的一部分。
    
    在此之前,只支持使用单个示例的关键字 `example`。OpenAPI 3.1.0 仍然支持它,但它已被弃用,并不属于 JSON Schema 标准。因此,建议你把 `example` 迁移到 `examples`。🤓
    
    你可以在本页末尾阅读更多内容。
    
    ///
    
    ## `Field` 的附加参数 { #field-additional-arguments }
    
    在 Pydantic 模型中使用 `Field()` 时,你也可以声明额外的 `examples`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  9. docs/screenshots/Example-1.jpg

    Example-1.jpg...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 29 16:10:47 GMT 2017
    - 88.5K bytes
    - Click Count (0)
  10. docs/screenshots/Example-2.jpg

    Example-2.jpg...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 29 16:10:47 GMT 2017
    - 134.5K bytes
    - Click Count (0)
Back to Top