Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for extensions (0.17 sec)

  1. docs/em/docs/how-to/extending-openapi.md

    * `routes`: 📇 🛣, 👫 🔠 ® *➡ 🛠️*. 👫 ✊ ⚪️➡️ `app.routes`.
    
    ## 🔑 🔢
    
    ⚙️ ℹ 🔛, 👆 💪 ⚙️ 🎏 🚙 🔢 🏗 🗄 🔗 & 🔐 🔠 🍕 👈 👆 💪.
    
    🖼, ➡️ 🚮 <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">📄 🗄 ↔ 🔌 🛃 🔱</a>.
    
    ### 😐 **FastAPI**
    
    🥇, ✍ 🌐 👆 **FastAPI** 🈸 🛎:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.7K bytes
    - Viewed (1)
  2. docs/de/docs/how-to/extending-openapi.md

    Fügen wir beispielsweise <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDocs OpenAPI-Erweiterung</a> zum Einbinden eines benutzerdefinierten Logos hinzu.
    
    ### Normales **FastAPI**
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. pyproject.toml

        "Topic :: Internet :: WWW/HTTP",
    ]
    dependencies = [
        "starlette>=0.37.2,<0.38.0",
        "pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0",
        "typing-extensions>=4.8.0",
    ]
    
    [project.urls]
    Homepage = "https://github.com/tiangolo/fastapi"
    Documentation = "https://fastapi.tiangolo.com/"
    Repository = "https://github.com/tiangolo/fastapi"
    
    [project.optional-dependencies]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/extending-openapi.md

    * `routes`:路由列表,每个路由都是注册的*路径操作*。这些路由是从 `app.routes` 中提取的。
    
    ## 覆盖默认值
    
    `get_openapi()` 工具函数还可以用于生成 OpenAPI 概图,并利用上述信息参数覆盖指定的内容。
    
    例如,使用 <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDoc 的 OpenAPI 扩展添加自定义 Logo</a>。
    
    ### 常规 **FastAPI**
    
    首先,编写常规 **FastAPI** 应用:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous pouvez étendre le schéma OpenAPI pour une *opération de chemin* en utilisant le paramètre `openapi_extra`.
    
    ### Extensions OpenAPI
    
    Cet `openapi_extra` peut être utile, par exemple, pour déclarer [OpenAPI Extensions](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#specificationExtensions) :
    
    ```Python hl_lines="6"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/query-params-str-validations.md

    ### Импорт `Query` и `Annotated`
    
    Чтобы достичь этого, первым делом нам нужно импортировать:
    
    * `Query` из пакета `fastapi`:
    * `Annotated` из пакета `typing` (или из `typing_extensions` для Python ниже 3.9)
    
    === "Python 3.10+"
    
        В Python 3.9 или выше, `Annotated` является частью стандартной библиотеки, таким образом вы можете импортировать его из `typing`.
    
        ```Python hl_lines="1  3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/query-params-str-validations.md

    ### `Query` und `Annotated` importieren
    
    Importieren Sie zuerst:
    
    * `Query` von `fastapi`
    * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9)
    
    === "Python 3.10+"
    
        In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren.
    
        ```Python hl_lines="1  3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/extending-openapi.md

    For example, let's add <a href="https://github.com/Rebilly/ReDoc/blob/master/docs/redoc-vendor-extensions.md#x-logo" class="external-link" target="_blank">ReDoc's OpenAPI extension to include a custom logo</a>.
    
    ### Normal **FastAPI**
    
    First, write all your **FastAPI** application as normally:
    
    ```Python hl_lines="1  4  7-9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial013_py39.py!}
        ```
    
    === "Python 3.8+"
    
        In versions below Python 3.9, you import `Annotated` from `typing_extensions`.
    
        It will already be installed with **FastAPI**.
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial013.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    !!! tip
        This is a low level extension point.
    
        If you only need to declare additional responses, a more convenient way to do it is with [Additional Responses in OpenAPI](additional-responses.md){.internal-link target=_blank}.
    
    You can extend the OpenAPI schema for a *path operation* using the parameter `openapi_extra`.
    
    ### OpenAPI Extensions
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top