Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 189 for api_route (0.08 seconds)

  1. docs/zh-hant/docs/advanced/openapi-webhooks.md

    {* ../../docs_src/openapi_webhooks/tutorial001_py310.py hl[9:12,15:20] *}
    
    你定義的 webhook 會出現在 OpenAPI 結構描述與自動產生的文件 UI 中。
    
    /// info
    
    `app.webhooks` 其實就是一個 `APIRouter`,與你在將應用拆分為多個檔案時所使用的型別相同。
    
    ///
    
    注意,使用 webhook 時你其實不是在宣告路徑(例如 `/items/`),你傳入的文字只是該 webhook 的識別名稱(事件名稱)。例如在 `@app.webhooks.post("new-subscription")` 中,webhook 名稱是 `new-subscription`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/generate-clients.md

    FastAPI uses a **unique ID** for each *path operation*, which is used for the **operation ID** and also for the names of any needed custom models, for requests or responses.
    
    You can customize that function. It takes an `APIRoute` and outputs a string.
    
    For example, here it is using the first tag (you will probably have only one tag) and the *path operation* name (the function name).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.7K bytes
    - Click Count (1)
  3. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Si vous souhaitez utiliser les noms de fonction de vos API comme `operationId`, vous pouvez les parcourir tous et remplacer l’`operation_id` de chaque chemin d’accès en utilisant leur `APIRoute.name`.
    
    Vous devez le faire après avoir ajouté tous vos chemins d’accès.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *}
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. docs/ja/docs/advanced/openapi-webhooks.md

    {* ../../docs_src/openapi_webhooks/tutorial001_py310.py hl[9:12,15:20] *}
    
    定義した webhook は **OpenAPI** スキーマおよび自動生成される **ドキュメント UI** に反映されます。
    
    /// info | 情報
    
    `app.webhooks` オブジェクトは実際には単なる `APIRouter` で、複数ファイルでアプリを構成する際に使うものと同じ型です。
    
    ///
    
    Webhook では(`/items/` のような)*パス*を宣言しているわけではない点に注意してください。ここで渡す文字列は webhook の**識別子**(イベント名)です。たとえば `@app.webhooks.post("new-subscription")` での webhook 名は `new-subscription` です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/path-operation-advanced-configuration.md

    Если вы хотите использовать имена функций ваших API в качестве `operationId`, вы можете пройти по всем из них и переопределить `operation_id` каждой *операции пути* с помощью их `APIRoute.name`.
    
    Делать это следует после добавления всех *операций пути*.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *}
    
    /// tip | Совет
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    ### *path operation関数* の名前をoperationIdとして使用する { #using-the-path-operation-function-name-as-the-operationid }
    
    APIの関数名を `operationId` として利用したい場合、すべてのAPI関数をイテレーションし、各 *path operation* の `operation_id` を `APIRoute.name` で上書きすれば可能です。
    
    すべての *path operation* を追加した後に行うべきです。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *}
    
    /// tip | 豆知識
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/generate-clients.md

    Vous pouvez personnaliser cette fonction. Elle prend un `APIRoute` et retourne une chaîne.
    
    Par exemple, ici elle utilise le premier tag (vous n’en aurez probablement qu’un) et le nom du *chemin d'accès* (le nom de la fonction).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. docs/tr/docs/_llm-test.md

    * server worker
    * Uvicorn worker
    * Gunicorn Worker
    * worker process
    * worker class
    * workload
    
    * deployment
    * deploy etmek
    
    * SDK
    * software development kit
    
    * `APIRouter`
    * `requirements.txt`
    * Bearer Token
    * breaking change
    * bug
    * button
    * callable
    * code
    * commit
    * context manager
    * coroutine
    * database session
    * disk
    * domain
    * engine
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. docs/ru/docs/_llm-test.md

    * воркер сервера
    * воркер Uvicorn
    * воркер Gunicorn
    * воркер-процесс
    * класс воркера
    * рабочая нагрузка
    
    * деплой
    * развернуть
    
    * SDK
    * набор средств разработки ПО
    
    * `APIRouter`
    * `requirements.txt`
    * токен Bearer
    * несовместимое изменение
    * баг
    * кнопка
    * вызываемый объект
    * код
    * коммит
    * менеджер контекста
    * корутина
    * сессия базы данных
    * диск
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/path-operation-advanced-configuration.md

    ### 使用 *路径操作函数* 的函数名作为 operationId { #using-the-path-operation-function-name-as-the-operationid }
    
    如果你想用 API 的函数名作为 `operationId`,你可以遍历所有路径操作,并使用它们的 `APIRoute.name` 重写每个 *路径操作* 的 `operation_id`。
    
    你应该在添加了所有 *路径操作* 之后执行此操作。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top