Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,276 for operationId (0.07 sec)

  1. tests/test_tutorial/test_body/test_tutorial001.py

                                    }
                                },
                            },
                        },
                        "summary": "Create Item",
                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial001_py310.py

                                    }
                                },
                            },
                        },
                        "summary": "Create Item",
                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  3. docs/ja/docs/tutorial/path-operation-configuration.md

    <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image04.png">
    
    *path operations*が非推奨である場合とそうでない場合でどのように見えるかを確認してください:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/path-operation-configuration/image05.png">
    
    ## まとめ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Check how deprecated and non-deprecated *path operations* look like:
    
    <img src="/img/tutorial/path-operation-configuration/image05.png">
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operationデコレータの依存関係
    
    場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。
    
    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    ```Python hl_lines="17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. fastapi/routing.py

                    """
                ),
            ] = None,
            operation_id: Annotated[
                Optional[str],
                Doc(
                    """
                    Custom operation ID to be used by this *path operation*.
    
                    By default, it is generated automatically.
    
                    If you provide a custom operation ID, you need to make sure it is
                    unique for the whole API.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  8. fastapi/applications.py

                    """
                ),
            ] = None,
            operation_id: Annotated[
                Optional[str],
                Doc(
                    """
                    Custom operation ID to be used by this *path operation*.
    
                    By default, it is generated automatically.
    
                    If you provide a custom operation ID, you need to make sure it is
                    unique for the whole API.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 😢 *➡ 🛠️*
    
    🚥 👆 💪 ™ *➡ 🛠️* <abbr title="obsolete, recommended not to use it">😢</abbr>, ✋️ 🍵 ❎ ⚫️, 🚶‍♀️ 🔢 `deprecated`:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    ⚫️ 🔜 🎯 ™ 😢 🎓 🩺:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 弃用*路径操作*
    
    `deprecated` 参数可以把*路径操作*标记为<abbr title="过时,建议不要使用">弃用</abbr>,无需直接删除:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    API 文档会把该路径操作标记为弃用:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    下图显示了正常*路径操作*与弃用*路径操作* 的区别:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top