Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,019 for pagh (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/tutorial/path-params.md

    通过浏览器访问 <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>,接收如下 HTTP 错误信息:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:43:19 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration { #path-operation-configuration }
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/path-operation-configuration.md

    Daher, wenn Sie keine vergeben, wird **FastAPI** automatisch eine für „Erfolgreiche Response“ erstellen.
    
    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## Eine *Pfadoperation* deprecaten { #deprecate-a-path-operation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/path-operation-configuration.md

    Если вдруг вы не укажете его, то **FastAPI** автоматически сгенерирует это описание с текстом "Successful response".
    
    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## Обозначение *операции пути* как устаревшей { #deprecate-a-path-operation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/path-operation-configuration.md

    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 단일 *경로 작동* 지원중단
    
    단일 *경로 작동*을 없애지 않고 <abbr title="구식, 사용하지 않는것이 권장됨">지원중단</abbr>을 해야한다면, `deprecated` 매개변수를 전달하면 됩니다.
    
    {* ../../docs_src/path_operation_configuration/tutorial006.py hl[16] *}
    
    대화형 문서에 지원중단이라고 표시됩니다.
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/path-operation-configuration.md

    # Configuración de Path Operation { #path-operation-configuration }
    
    Hay varios parámetros que puedes pasar a tu *path operation decorator* para configurarlo.
    
    /// warning | Advertencia
    
    Ten en cuenta que estos parámetros se pasan directamente al *path operation decorator*, no a tu *path operation function*.
    
    ///
    
    ## Código de Estado del Response { #response-status-code }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/path-operation-configuration.md

    如果没有定义响应描述,**FastAPI** 则自动生成内容为 "Successful response" 的响应描述。
    
    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 弃用*路径操作*
    
    `deprecated` 参数可以把*路径操作*标记为<abbr title="过时,建议不要使用">弃用</abbr>,无需直接删除:
    
    {* ../../docs_src/path_operation_configuration/tutorial006.py hl[16] *}
    
    API 文档会把该路径操作标记为弃用:
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    下图显示了正常*路径操作*与弃用*路径操作* 的区别:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/path-operation-configuration.md

    Então, se você não fornecer uma, o **FastAPI** irá gerar automaticamente uma de "Resposta bem-sucedida".
    
    ///
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## Descontinuar uma *operação de rota* { #deprecate-a-path-operation }
    
    Se você precisar marcar uma *operação de rota* como <abbr title="obsoleta, recomendada não usá-la">descontinuada</abbr>, mas sem removê-la, passe o parâmetro `deprecated`:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    # Path Parameters and Numeric Validations { #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` { #import-path }
    
    First, import `Path` from `fastapi`, and import `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/path-params-numeric-validations.md

    # 路径参数和数值校验
    
    与使用 `Query` 为查询参数声明更多的校验和元数据的方式相同,你也可以使用 `Path` 为路径参数声明相同类型的校验和元数据。
    
    ## 导入 Path
    
    首先,从 `fastapi` 导入 `Path`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    ## 声明元数据
    
    你可以声明与 `Query` 相同的所有参数。
    
    例如,要声明路径参数 `item_id`的 `title` 元数据值,你可以输入:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note
    
    路径参数总是必需的,因为它必须是路径的一部分。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.6K bytes
    - Click Count (0)
Back to Top