Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 334 for json (0.13 sec)

  1. docs/pt/docs/tutorial/body-fields.md

    ## Adicione informações extras
    
    Você pode declarar informação extra em `Field`, `Query`, `Body`, etc. E isso será incluído no JSON Schema gerado.
    
    Você irá aprender mais sobre adicionar informações extras posteriormente nessa documentação, quando estiver aprendendo a declarar exemplos.
    
    ## Recapitulando
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 15:00:11 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/first-steps.md

    #### ✅ `openapi.json`
    
    🚥 👆 😟 🔃 ❔ 🍣 🗄 🔗 👀 💖, FastAPI 🔁 🏗 🎻 (🔗) ⏮️ 📛 🌐 👆 🛠️.
    
    👆 💪 👀 ⚫️ 🔗: <a href="http://127.0.0.1:8000/openapi.json" class="external-link" target="_blank">http://127.0.0.1:8000/openapi.json</a>.
    
    ⚫️ 🔜 🎦 🎻 ▶️ ⏮️ 🕳 💖:
    
    ```JSON
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/response-model.md

    Pydanticモデルの属性に対して宣言するのと同じ型を受け取るので、Pydanticモデルになることもできますが、例えば、`List[Item]`のようなPydanticモデルの`list`になることもできます。
    
    FastAPIは`response_model`を使って以下のことをします:
    
    * 出力データを型宣言に変換します。
    * データを検証します。
    * OpenAPIの *path operation* で、レスポンス用のJSON Schemaを追加します。
    * 自動ドキュメントシステムで使用されます。
    
    しかし、最も重要なのは:
    
    * 出力データをモデルのデータに限定します。これがどのように重要なのか以下で見ていきましょう。
    
    !!! note "技術詳細"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-forms-and-files.md

    !!! warning "Внимание"
        Вы можете объявить несколько параметров `File` и `Form` в операции *path*, но вы не можете также объявить поля `Body`, которые вы ожидаете получить в виде JSON, так как запрос будет иметь тело, закодированное с помощью `multipart/form-data` вместо `application/json`.
    
        Это не ограничение **Fast API**, это часть протокола HTTP.
    
    ## Резюме
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/openapi-callbacks.md

    ```
    
    ⏮️ 🎻 💪:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    ⤴️ *👆 🛠️* 🔜 🛠️ 🧾, &amp; ☝ ⏪, 📨 ⏲ 📨 `callback_url` ( *🔢 🛠️*):
    
    ```
    https://www.external.org/events/invoices/2expen51ve
    ```
    
    ⏮️ 🎻 💪 ⚗ 🕳 💖:
    
    ```JSON
    {
        "description": "Payment celebration",
        "paid": true
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-fields.md

    ## Add extra information
    
    You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema.
    
    You will learn more about adding extra information later in the docs, when learning to declare examples.
    
    !!! warning
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/body-fields.md

        注意,模型属性的类型、默认值及 `Field` 的代码结构与*路径操作函数*的参数相同,只不过是用 `Field` 替换了`Path`、`Query`、`Body`。
    
    ## 添加更多信息
    
    `Field`、`Query`、`Body` 等对象里可以声明更多信息,并且 JSON Schema 中也会集成这些信息。
    
    *声明示例*一章中将详细介绍添加更多信息的知识。
    
    ## 小结
    
    Pydantic 的 `Field` 可以为模型属性声明更多校验和元数据。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. docs/fr/docs/history-design-future.md

    De plus, la meilleure approche était d'utiliser des normes déjà existantes.
    
    Ainsi, avant même de commencer à coder **FastAPI**, j'ai passé plusieurs mois à étudier les spécifications d'OpenAPI, JSON Schema, OAuth2, etc. Comprendre leurs relations, leurs similarités et leurs différences.
    
    ## Conception
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    * Add a **JSON Schema** for the response, in the OpenAPI *path operation*.
        * This will be used by the **automatic docs**.
        * It will also be used by automatic client code generation tools.
    
    But most importantly:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    🚥 👆 📂 🏧 🛠️ 🩺, 👆 ↔ 🔜 🎦 🆙 🔝 🎯 *➡ 🛠️*.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    &amp; 🚥 👆 👀 📉 🗄 ( `/openapi.json` 👆 🛠️), 👆 🔜 👀 👆 ↔ 🍕 🎯 *➡ 🛠️* 💁‍♂️:
    
    ```JSON hl_lines="22"
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top