Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 308 for Wouters (0.05 seconds)

  1. fastapi/openapi/utils.py

    
    def get_fields_from_routes(
        routes: Sequence[BaseRoute],
    ) -> list[ModelField]:
        body_fields_from_routes: list[ModelField] = []
        responses_from_routes: list[ModelField] = []
        request_fields_from_routes: list[ModelField] = []
        callback_flat_models: list[ModelField] = []
        for route in routes:
            if not isinstance(route, routing.APIRoute):
                continue
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. docs/zh/docs/how-to/extending-openapi.md

    - `title`:OpenAPI 标题,显示在文档中。
    - `version`:你的 API 版本,例如 `2.5.0`。
    - `openapi_version`:使用的 OpenAPI 规范版本。默认是最新的 `3.1.0`。
    - `summary`:API 的简短摘要。
    - `description`:API 的描述,可包含 Markdown,并会展示在文档中。
    - `routes`:路由列表,即已注册的每个路径操作。来自 `app.routes`。
    
    /// info | 信息
    
    参数 `summary` 仅在 OpenAPI 3.1.0 及更高版本中可用,FastAPI 0.99.0 及以上版本支持。
    
    ///
    
    ## 覆盖默认值 { #overriding-the-defaults }
    
    基于以上信息,你可以用同一个工具函数生成 OpenAPI 架构,并按需覆盖其中的各个部分。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. docs_src/custom_request_and_route/tutorial002_an_py310.py

                    detail = {"errors": exc.errors(), "body": body.decode()}
                    raise HTTPException(status_code=422, detail=detail)
    
            return custom_route_handler
    
    
    app = FastAPI()
    app.router.route_class = ValidationErrorLoggingRoute
    
    
    @app.post("/")
    async def sum_numbers(numbers: Annotated[list[int], Body()]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 974 bytes
    - Click Count (0)
  4. docs/ja/docs/how-to/extending-openapi.md

    - `version`: API のバージョン。例: `2.5.0`。
    - `openapi_version`: 使用する OpenAPI 仕様のバージョン。デフォルトは最新の `3.1.0`。
    - `summary`: API の短い概要。
    - `description`: API の説明。Markdown を含めることができ、ドキュメントに表示されます。
    - `routes`: ルートのリスト。登録済みの各 path operation です。`app.routes` から取得されます。
    
    /// info | 情報
    
    パラメータ `summary` は OpenAPI 3.1.0 以降で利用可能で、FastAPI 0.99.0 以降が対応しています。
    
    ///
    
    ## デフォルトの上書き { #overriding-the-defaults }
    
    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)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        NavigableMap<K, V> innermost =
            new SafeTreeMap<>((Comparator<? super K>) Ordering.natural().nullsFirst());
        TestMap<K, V> inner = new TestMap<>(innermost, mutex);
        NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
        return outer;
      }
    
      static class TestEntry<K, V> extends ForwardingMapEntry<K, V> implements Serializable {
        private final Entry<K, V> delegate;
        private final Object mutex;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[1] *}
    
    `FastAPI` est une classe Python qui fournit toutes les fonctionnalités nécessaires à votre API.
    
    /// note | Détails techniques
    
    `FastAPI` est une classe qui hérite directement de `Starlette`.
    
    Vous pouvez donc aussi utiliser toutes les fonctionnalités de [Starlette](https://www.starlette.dev/) avec `FastAPI`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  7. docs/de/docs/how-to/extending-openapi.md

    * `summary`: Eine kurze Zusammenfassung der API.
    * `description`: Die Beschreibung Ihrer API. Dies kann Markdown enthalten und wird in der Dokumentation angezeigt.
    * `routes`: Eine Liste von Routen, dies sind alle registrierten *Pfadoperationen*. Sie stammen von `app.routes`.
    
    /// info | Info
    
    Der Parameter `summary` ist in OpenAPI 3.1.0 und höher verfügbar und wird von FastAPI 0.99.0 und höher unterstützt.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/extending-openapi.md

    * `summary`: Un breve resumen de la API.
    * `description`: La descripción de tu API, esta puede incluir markdown y se mostrará en la documentación.
    * `routes`: Una list de rutas, estas son cada una de las *path operations* registradas. Se toman de `app.routes`.
    
    /// info | Información
    
    El parámetro `summary` está disponible en OpenAPI 3.1.0 y versiones superiores, soportado por FastAPI 0.99.0 y superiores.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. docs_src/openapi_callbacks/tutorial001_py310.py

        "{$callback_url}/invoices/{$request.body.id}", response_model=InvoiceEventReceived
    )
    def invoice_notification(body: InvoiceEvent):
        pass
    
    
    @app.post("/invoices/", callbacks=invoices_callback_router.routes)
    def create_invoice(invoice: Invoice, callback_url: HttpUrl | None = None):
        """
        Create an invoice.
    
        This will (let's imagine) let the API user (some external developer) create an
        invoice.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top