Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,904 for spath (0.03 sec)

  1. docs/ru/docs/tutorial/path-params-numeric-validations.md

    # Path-параметры и валидация числовых данных
    
    Так же, как с помощью `Query` вы можете добавлять валидацию и метаданные для query-параметров, так и с помощью `Path` вы можете добавлять такую же валидацию и метаданные для path-параметров.
    
    ## Импорт Path
    
    Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-operation-configuration.md

    ```
    
    Ela será claramente marcada como descontinuada nas documentações interativas:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Verifique como *operações de rota* descontinuadas e não descontinuadas se parecem:
    
    <img src="/img/tutorial/path-operation-configuration/image05.png">
    
    ## Resumindo
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/path-params-numeric-validations.md

    # 路径参数和数值校验
    
    与使用 `Query` 为查询参数声明更多的校验和元数据的方式相同,你也可以使用 `Path` 为路径参数声明相同类型的校验和元数据。
    
    ## 导入 Path
    
    首先,从 `fastapi` 导入 `Path`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/path-params-numeric-validations.md

    # 경로 매개변수와 숫자 검증
    
    `Query`를 사용하여 쿼리 매개변수에 더 많은 검증과 메타데이터를 선언하는 방법과 동일하게 `Path`를 사용하여 경로 매개변수에 검증과 메타데이터를 같은 타입으로 선언할 수 있습니다.
    
    ## 경로 임포트
    
    먼저 `fastapi`에서 `Path`를 임포트합니다:
    
    ```Python hl_lines="3"
    {!../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ## 메타데이터 선언
    
    `Query`에 동일한 매개변수를 선언할 수 있습니다.
    
    예를 들어, `title` 메타데이터 값을 경로 매개변수 `item_id`에 선언하려면 다음과 같이 입력할 수 있습니다:
    
    ```Python hl_lines="10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/path-params-numeric-validations.md

    # パスパラメータと数値の検証
    
    クエリパラメータに対して`Query`でより多くのバリデーションとメタデータを宣言できるのと同じように、パスパラメータに対しても`Path`で同じ種類のバリデーションとメタデータを宣言することができます。
    
    ## Pathのインポート
    
    まず初めに、`fastapi`から`Path`をインポートします:
    
    ```Python hl_lines="1"
    {!../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ## メタデータの宣言
    
    パラメータは`Query`と同じものを宣言することができます。
    
    例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします:
    
    ```Python hl_lines="8"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations
    
    In the same way that you can declare more validations and metadata for query parameters with `Query`, you can declare the same type of validations and metadata for path parameters with `Path`.
    
    ## Import Path
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/path-params-numeric-validations.md

    # Pfad-Parameter und Validierung von Zahlen
    
    So wie Sie mit `Query` für Query-Parameter zusätzliche Validierungen und Metadaten hinzufügen können, können Sie das mittels `Path` auch für Pfad-Parameter tun.
    
    ## `Path` importieren
    
    Importieren Sie zuerst `Path` von `fastapi`, und importieren Sie `Annotated`.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    # Path Operationの高度な設定
    
    ## OpenAPI operationId
    
    /// warning | "注意"
    
    あなたがOpenAPIの「エキスパート」でなければ、これは必要ないかもしれません。
    
    ///
    
    *path operation* で `operation_id` パラメータを利用することで、OpenAPIの `operationId` を設定できます。
    
    `operation_id` は各オペレーションで一意にする必要があります。
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### *path operation関数* の名前をoperationIdとして使用する
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/path-params-numeric-validations.md

    # ➡ 🔢 &amp; 🔢 🔬
    
    🎏 🌌 👈 👆 💪 📣 🌅 🔬 &amp; 🗃 🔢 🔢 ⏮️ `Query`, 👆 💪 📣 🎏 🆎 🔬 &amp; 🗃 ➡ 🔢 ⏮️ `Path`.
    
    ## 🗄 ➡
    
    🥇, 🗄 `Path` ⚪️➡️ `fastapi`:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ### Using the *path operation function* name as the operationId
    
    If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`.
    
    You should do it after adding all your *path operations*.
    
    ```Python hl_lines="2  12-21  24"
    {!../../docs_src/path_operation_advanced_configuration/tutorial002.py!}
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top