- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,192 for pagh (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ko/docs/tutorial/path-params.md
문서에 매개변수에 경로가 포함되어야 한다는 정보가 명시되지는 않지만 여전히 작동합니다. ### 경로 변환기 Starlette의 옵션을 직접 이용하여 다음과 같은 URL을 사용함으로써 *path*를 포함하는 *경로 매개변수*를 선언할 수 있습니다: ``` /files/{file_path:path} ``` 이러한 경우 매개변수의 이름은 `file_path`이며, 마지막 부분 `:path`는 매개변수가 *경로*와 일치해야 함을 명시합니다. 따라서 다음과 같이 사용할 수 있습니다: {* ../../docs_src/path_params/tutorial004.py hl[6] *} /// tip | 팁Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/path-operation-configuration.md
# Path Operationの設定 *path operationデコレータ*を設定するためのパラメータがいくつかあります。 /// warning | 注意 これらのパラメータは*path operation関数*ではなく、*path operationデコレータ*に直接渡されることに注意してください。 /// ## レスポンスステータスコード *path operation*のレスポンスで使用する(HTTP)`status_code`を定義することができます。 `404`のように`int`のコードを直接渡すことができます。 しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます: {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.2K bytes - Click Count (0) -
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) -
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) -
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) -
docs/ru/docs/tutorial/path-operation-configuration.md
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) -
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) -
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) -
docs/es/docs/advanced/path-operation-advanced-configuration.md
### Usar el nombre de la *path operation function* como el operationId { #using-the-path-operation-function-name-as-the-operationid } Si quieres usar los nombres de las funciones de tus APIs como `operationId`s, puedes iterar sobre todas ellas y sobrescribir el `operation_id` de cada *path operation* usando su `APIRoute.name`. Deberías hacerlo después de agregar todas tus *path operations*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.3K bytes - Click Count (0) -
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)