Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 61 for Singular (0.31 seconds)

  1. docs/en/docs/tutorial/body-multiple-params.md

    It will perform the validation of the compound data, and will document it like that for the OpenAPI schema and automatic docs.
    
    ## Singular values in body { #singular-values-in-body }
    
    The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body.md

    ///
    
    ## Without Pydantic { #without-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    * Data conversion
    * Data validation
    * Automatic documentation
    
    ## Special types and validation { #special-types-and-validation }
    
    Apart from normal singular types like `str`, `int`, `float`, etc. you can use more complex singular types that inherit from `str`.
    
    To see all the options you have, checkout [Pydantic's Type Overview](https://docs.pydantic.dev/latest/concepts/types/). You will see some examples in the next chapter.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  4. docs/de/llm-prompt.md

    * /// check: /// check | Testen
    * /// danger: /// danger | Gefahr
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. scripts/general-llm-prompt.md

    Example:
    
    Source (English):
    
    ```
    [Body - Multiple Parameters: Singular values in body](body-multiple-params.md#singular-values-in-body){.internal-link target=_blank}
    ```
    
    Existing wrong translation (German) - notice the wrongly translated anchor fragment:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Mar 18 10:55:36 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/body-multiple-params.md

    }
    ```
    
    /// note | 注意
    
    儘管 `item` 的宣告方式與先前相同,現在預期它會位於 body 內,且鍵為 `item`。
    
    ///
    
    **FastAPI** 會自動從請求中進行轉換,讓參數 `item` 收到對應內容,`user` 亦同。
    
    它會對複合資料進行驗證,並在 OpenAPI 結構與自動文件中如此描述。
    
    ## Body 中的單一值 { #singular-values-in-body }
    
    就像你可以用 `Query` 與 `Path` 為查詢與路徑參數定義額外資訊一樣,**FastAPI** 也提供對應的 `Body`。
    
    例如,延伸前述模型,你可以決定在相同的 Body 中,除了 `item` 與 `user` 外,還要有另一個鍵 `importance`。
    
    如果直接這樣宣告,因為它是單一值,**FastAPI** 會將其視為查詢參數。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/body-multiple-params.md

    ///
    
    **FastAPI**는 요청에서 자동으로 변환을 수행하여, 매개변수 `item`이 해당하는 내용을 받고 `user`도 마찬가지로 받도록 합니다.
    
    복합 데이터의 검증을 수행하고, OpenAPI 스키마 및 자동 문서에도 그에 맞게 문서화합니다.
    
    ## 본문 내의 단일 값 { #singular-values-in-body }
    
    쿼리 및 경로 매개변수에 대한 추가 데이터를 정의하는 `Query`와 `Path`가 있는 것과 같은 방식으로, **FastAPI**는 동등한 `Body`를 제공합니다.
    
    예를 들어 이전 모델을 확장해서, `item`과 `user` 외에도 같은 본문에 `importance`라는 다른 키를 두고 싶을 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/body.md

    但添加这些类型注解可以让你的编辑器提供更好的支持并检测错误。
    
    ///
    
    ## 不使用 Pydantic { #without-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    ### `scope` { #scope }
    
    The spec also says that the client can send another form field "`scope`".
    
    The form field name is `scope` (in singular), but it is actually a long string with "scopes" separated by spaces.
    
    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/body-multiple-params.md

    /// note | 注意
    
    请注意,即使 `item` 的声明方式与之前相同,但现在它被期望通过 `item` 键内嵌在请求体中。
    
    ///
    
    **FastAPI** 将自动对请求中的数据进行转换,因此 `item` 参数将接收指定的内容,`user` 参数也是如此。
    
    它将执行对复合数据的校验,并且像现在这样为 OpenAPI 模式和自动化文档对其进行记录。
    
    ## 请求体中的单一值 { #singular-values-in-body }
    
    与使用 `Query` 和 `Path` 为查询参数和路径参数定义额外数据的方式相同,**FastAPI** 提供了一个同等的 `Body`。
    
    例如,为了扩展先前的模型,你可能决定除了 `item` 和 `user` 之外,还想在同一请求体中具有另一个键 `importance`。
    
    如果你就按原样声明它,因为它是一个单一值,**FastAPI** 将假定它是一个查询参数。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top