- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for file_path (0.24 sec)
-
docs/ja/docs/tutorial/path-params.md
クライアントは以下の様なJSONレスポンスを得ます: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## パスを含んだパスパラメータ パス `/files/{file_path}` となる *path operation* を持っているとしましょう。 ただし、 `home/johndoe/myfile.txt` のような*パス*を含んだ `file_path` が必要です。 したがって、URLは `/files/home/johndoe/myfile.txt` の様になります。 ### OpenAPIサポート OpenAPIはテストや定義が困難なシナリオにつながる可能性があるため、内部に*パス*を含む*パスパラメータ*の宣言をサポートしていません。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
### `FileResponse` Asynchronously streams a file as the response. Takes a different set of arguments to instantiate than the other response types: * `path` - The filepath to the file to stream. * `headers` - Any custom headers to include, as a dictionary. * `media_type` - A string giving the media type. If unset, the filename or path will be used to infer a media type.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0)