Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for APIRouter (0.04 sec)

  1. docs/en/docs/tutorial/metadata.md

    It takes a list containing one dictionary for each tag.
    
    Each dictionary can contain:
    
    * `name` (**required**): a `str` with the same tag name you use in the `tags` parameter in your *path operations* and `APIRouter`s.
    * `description`: a `str` with a short description for the tag. It can have Markdown and will be shown in the docs UI.
    * `externalDocs`: a `dict` describing external documentation with:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. tests/test_dependency_overrides.py

    from typing import Optional
    
    import pytest
    from fastapi import APIRouter, Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    async def common_parameters(q: str, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/main-depends/")
    async def main_depends(commons: dict = Depends(common_parameters)):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/static-files.md

    „Mounten“ bedeutet das Hinzufügen einer vollständigen „unabhängigen“ Anwendung an einem bestimmten Pfad, die sich dann um die Handhabung aller Unterpfade kümmert.
    
    Dies unterscheidet sich von der Verwendung eines `APIRouter`, da eine gemountete Anwendung völlig unabhängig ist. Die OpenAPI und Dokumentation Ihrer Hauptanwendung enthalten nichts von der gemounteten Anwendung, usw.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/openapi-webhooks.md

    Los webhooks que defines terminarán en el esquema de **OpenAPI** y en la interfaz automática de **documentación**.
    
    /// info | Información
    
    El objeto `app.webhooks` es en realidad solo un `APIRouter`, el mismo tipo que usarías al estructurar tu aplicación con múltiples archivos.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/openapi-webhooks.md

    The webhooks that you define will end up in the **OpenAPI** schema and the automatic **docs UI**.
    
    /// info
    
    The `app.webhooks` object is actually just an `APIRouter`, the same type you would use when structuring your app with multiple files.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/metadata.md

    ## 태그에 대한 메타데이터
    
    `openapi_tags` 매개변수를 사용하여 경로 작동을 그룹화하는 데 사용되는 태그에 추가 메타데이터를 추가할 수 있습니다.
    
    리스트는 각 태그에 대해 하나의 딕셔너리를 포함해야 합니다.
    
    각 딕셔너리에는 다음이 포함될 수 있습니다:
    
    * `name` (**필수**): `tags` 매개변수에서 *경로 작동*과 `APIRouter`에 사용된 태그 이름과 동일한 `str`입니다.
    * `description`: 태그에 대한 간단한 설명을 담은 `str`입니다. 마크다운을 사용할 수 있으며 문서 UI에 표시됩니다.
    * `externalDocs`: 외부 문서를 설명하는 `dict`이며:
        * `description`: 외부 문서에 대한 간단한 설명을 담은 `str`입니다.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/static-files.md

    ///
    
    ### 「マウント」とは
    
    「マウント」とは、特定のパスに完全な「独立した」アプリケーションを追加することを意味します。これにより、すべてのサブパスの処理がなされます。
    
    これは、マウントされたアプリケーションが完全に独立しているため、`APIRouter` とは異なります。メインアプリケーションのOpenAPIとドキュメントには、マウントされたアプリケーションの内容などは含まれません。
    
    これについて詳しくは、**高度なユーザーガイド** をご覧ください。
    
    ## 詳細
    
    最初の `"/static"` は、この「サブアプリケーション」が「マウント」されるサブパスを指します。したがって、`"/static"` から始まるパスはすべてサブアプリケーションによって処理されます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/openapi-webhooks.md

    Os webhooks que você define aparecerão no esquema do **OpenAPI** e na **página de documentação** gerada automaticamente.
    
    /// info | Informação
    
    O objeto `app.webhooks` é na verdade apenas um `APIRouter`, o mesmo tipo que você utilizaria ao estruturar a sua aplicação com diversos arquivos.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. docs/ru/docs/advanced/openapi-webhooks.md

    Определенные вами вебхуки попадут в схему **OpenAPI** и в автоматический **интерфейс документации**.
    
    /// info | Информация
    
    Объект `app.webhooks` на самом деле — это обычный `APIRouter`, тот же тип, который вы используете при структурировании приложения по нескольким файлам.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. docs/ru/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## Пользовательский класс `APIRoute` в роутере { #custom-apiroute-class-in-a-router }
    
    Вы также можете задать параметр `route_class` у `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top