Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Warning (0.53 sec)

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

    Você pode usar isso para adicionar um `example` para cada campo:
    
    ```Python hl_lines="4  10-13"
    {!../../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    !!! warning "Atenção"
        Lembre-se de que esses argumentos extras passados ​​não adicionarão nenhuma validação, apenas informações extras, para fins de documentação.
    
    ## `example` e `examples` no OpenAPI
    
    Ao usar quaisquer dos:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/schema-extra-example.md

    !!! tip "팁"
        이미 **FastAPI**의 **0.99.0 혹은 그 이상** 버전을 사용하고 있다면, 이 세부 사항을 **스킵**해도 상관 없을 것입니다.
    
        세부 사항은 OpenAPI 3.1.0이 사용가능하기 전, 예전 버전과 더 관련있습니다.
    
        간략한 OpenAPI와 JSON 스키마 **역사 강의**로 생각할 수 있습니다. 🤓
    
    !!! warning "경고"
        표준 **JSON 스키마**와 **OpenAPI**에 대한 아주 기술적인 세부사항입니다.
    
        만약 위의 생각이 작동한다면, 그것으로 충분하며 이 세부 사항은 필요없을 것이니, 마음 편하게 스킵하셔도 됩니다.
    
    OpenAPI 3.1.0 전에 OpenAPI는 오래된 **JSON 스키마**의 수정된 버전을 사용했습니다.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10-13"
        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    !!! warning Внимание
        Имейте в виду, что эти дополнительные переданные аргументы не добавляют никакой валидации, только дополнительную информацию для документации.
    
    ## Использование `example` и `examples` в OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/schema-extra-example.md

    ## `Field`の追加引数
    
    後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます:
    
    ```Python hl_lines="4 10 11 12 13"
    {!../../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    !!! warning "注意"
        これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。
    
    ## `Body`の追加引数
    
    追加情報を`Field`に渡すのと同じように、`Path`、`Query`、`Body`などでも同じことができます。
    
    例えば、`Body`にボディリクエストの`example`を渡すことができます:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/schema-extra-example.md

        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python hl_lines="2  8-11"
        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    !!! warning
        🚧 🤯 👈 📚 ➕ ❌ 🚶‍♀️ 🏆 🚫 🚮 🙆 🔬, 🕴 ➕ ℹ, 🧾 🎯.
    
    ## `example` & `examples` 🗄
    
    🕐❔ ⚙️ 🙆:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10-13"
        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    !!! warning
        请记住,传递的那些额外参数不会添加任何验证,只会添加注释,用于文档的目的。
    
    ## `Body` 额外参数
    
    你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。
    
    比如,你可以将请求体的一个 `example` 传递给 `Body`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-27"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/schema-extra-example.md

        Sie sind für ältere Versionen relevanter, bevor OpenAPI 3.1.0 verfügbar war.
    
        Sie können dies als eine kurze **Geschichtsstunde** zu OpenAPI und JSON Schema betrachten. 🤓
    
    !!! warning "Achtung"
        Dies sind sehr technische Details zu den Standards **JSON Schema** und **OpenAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

        They are more relevant for older versions, before OpenAPI 3.1.0 was available.
    
        You can consider this a brief OpenAPI and JSON Schema **history lesson**. 🤓
    
    !!! warning
        These are very technical details about the standards **JSON Schema** and **OpenAPI**.
    
        If the ideas above already work for you, that might be enough, and you probably don't need these details, feel free to skip them.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top