Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1741 - 1750 of 2,630 for path2 (0.19 seconds)

  1. docs/ja/docs/how-to/extending-openapi.md

    このセクションではその方法を説明します。
    
    ## 通常のプロセス { #the-normal-process }
    
    通常(デフォルト)のプロセスは次のとおりです。
    
    `FastAPI` アプリケーション(インスタンス)には、OpenAPI スキーマを返すことが期待される `.openapi()` メソッドがあります。
    
    アプリケーションオブジェクトの作成時に、`/openapi.json`(または `openapi_url` に設定したパス)への path operation が登録されます。
    
    これは単に、アプリケーションの `.openapi()` メソッドの結果を含む JSON レスポンスを返します。
    
    デフォルトでは、`.openapi()` メソッドはプロパティ `.openapi_schema` に内容があるかを確認し、あればそれを返します。
    
    なければ、`fastapi.openapi.utils.get_openapi` にあるユーティリティ関数を使って生成します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. internal/handlers/forwarder.go

    	outReq.URL = copyURL(outReq.URL)
    	outReq.URL.Scheme = target.Scheme
    	outReq.URL.Host = target.Host
    
    	u := f.getURLFromRequest(outReq)
    
    	outReq.URL.Path = u.Path
    	outReq.URL.RawPath = u.RawPath
    	outReq.URL.RawQuery = u.RawQuery
    	outReq.RequestURI = "" // Outgoing request should not have RequestURI
    
    	// Do not pass client Host header unless requested.
    	if !f.PassHost {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val persistent: Boolean = cookie.persistent
        val expiresAt: Long = cookie.expiresAt
        val hostOnly: Boolean = cookie.hostOnly
        val domain: String = cookie.domain
        val path: String = cookie.path
        val httpOnly: Boolean = cookie.httpOnly
        val secure: Boolean = cookie.secure
        val matches: Boolean = cookie.matches("".toHttpUrl())
        val parsedCookie: Cookie? = Cookie.parse("".toHttpUrl(), "")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

        from(allIncubationReports.get().csvReportFile)
        from(resolver("html"))
    }
    
    fun resolver(reportType: String) = configurations.create("incubatingReport${reportType.capitalize()}Path") {
        isCanBeResolved = true
        isCanBeConsumed = false
        attributes {
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/advanced-dependencies.md

    クラス自体(これはすでに callable です)ではなく、そのクラスのインスタンスです。
    
    そのためには、`__call__` メソッドを宣言します:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[12] *}
    
    この場合、この `__call__` が、**FastAPI** が追加のパラメータやサブ依存関係を確認するために使うものになり、後であなたの *path operation 関数* のパラメータに値を渡すために呼び出されるものになります。
    
    ## インスタンスのパラメータ化 { #parameterize-the-instance }
    
    そして、`__init__` を使って、依存関係を「パラメータ化」するために利用できるインスタンスのパラメータを宣言できます:
    
    {* ../../docs_src/dependencies/tutorial011_an_py310.py hl[9] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

     * It's currently implemented by two use cases:
     * 1. Collect cache misses for compilation tasks and publish a `CACHE_MISS` tag for a Build Scan.
     * 2. Collect failed task paths and display a link which points to the corresponding task in the Build Scan, like `https://ge.gradle.org/s/xxx/console-log?task=yyy`.
     */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. tests/test_regex_deprecated_body.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/": {
                        "post": {
                            "summary": "Read Items",
                            "operationId": "read_items_items__post",
                            "requestBody": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. tests/test_response_model_sub_types.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/valid1": {
                        "get": {
                            "summary": "Valid1",
                            "operationId": "valid1_valid1_get",
                            "responses": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/server-sent-events.md

    /// tip
    
    如果你要串流二進位資料,例如影片或音訊,請參考進階指南:[串流資料](../advanced/stream-data.md)。
    
    ///
    
    ## 使用 FastAPI 串流 SSE { #stream-sse-with-fastapi }
    
    要在 FastAPI 中串流 SSE,請在你的路徑操作函式(path operation function)中使用 `yield`,並設定 `response_class=EventSourceResponse`。
    
    從 `fastapi.sse` 匯入 `EventSourceResponse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.PrintWriter;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Objects;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
Back to Top