Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 223 for routers (0.04 seconds)

  1. tests/test_default_response_class.py

    )
    router_b_override.include_router(router_b_a, prefix="/a")
    router_a.include_router(router_a_a, prefix="/a")
    router_a.include_router(
        router_a_b_override, prefix="/b", default_response_class=PlainTextResponse
    )
    app.include_router(router_a, prefix="/a")
    app.include_router(
        router_b_override, prefix="/b", default_response_class=PlainTextResponse
    )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Click Count (0)
  2. docs/fr/docs/how-to/extending-openapi.md

    * `summary` : Un court résumé de l'API.
    * `description` : La description de votre API ; elle peut inclure du markdown et sera affichée dans la documentation.
    * `routes` : Une liste de routes ; chacune correspond à un *chemin d'accès* enregistré. Elles sont extraites de `app.routes`.
    
    /// info
    
    Le paramètre `summary` est disponible à partir d'OpenAPI 3.1.0, pris en charge par FastAPI 0.99.0 et versions ultérieures.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. docs/pt/docs/how-to/extending-openapi.md

    * `summary`: Um resumo curto da API.
    * `description`: A descrição da sua API, que pode incluir markdown e será exibida na documentação.
    * `routes`: Uma lista de rotas, que são cada uma das *operações de rota* registradas. Elas são obtidas de `app.routes`.
    
    /// info | Informação
    
    O parâmetro `summary` está disponível no OpenAPI 3.1.0 e superior, suportado pelo FastAPI 0.99.0 e superior.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. docs/features/connections.md

    In OkHttp some fields of the address come from the URL (scheme, hostname, port) and the rest come from the [OkHttpClient](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/).
    
    ### [Routes](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-route/)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. docs/pt/llm-prompt.md

    * path operation: operação de rota
    * path operation function: função de operação de rota
    * prefix: prefixo
    * request (as in HTTP request): request (do not change if it's already translated to requisição)
    * router (as in FastAPI's router): router (do not change if it's already translated to "roteador" or "roteadores")
    * response (as in HTTP response): response (do not change if it's already translated to resposta)
    * shutdown (of the app): encerramento
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 12:27:02 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/zh-hant/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:05:38 GMT 2026
    - 3K bytes
    - Click Count (0)
  7. docs_src/custom_request_and_route/tutorial002_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: list[int] = Body()):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 935 bytes
    - Click Count (0)
  8. docs/fr/docs/editor-support.md

    ## Fonctionnalités { #features }
    
    - **Explorateur des chemins d'accès** — Une vue arborescente latérale de tous les <dfn title="routes, endpoints">*chemins d'accès*</dfn> de votre application. Cliquez pour accéder à n’importe quelle définition de route ou de routeur.
    - **Recherche de routes** — Recherchez par chemin, méthode ou nom avec <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd> (sur macOS : <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd>).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. docs/ko/docs/how-to/extending-openapi.md

    * `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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. tests/test_sse.py

        yield ServerSentEvent(raw_data="cpu,87.3,1709145600", event="csv")
    
    
    router = APIRouter()
    
    
    @router.get("/events", response_class=EventSourceResponse)
    async def stream_events():
        yield {"msg": "hello"}
        yield {"msg": "world"}
    
    
    app.include_router(router, prefix="/api")
    
    
    @pytest.fixture(name="client")
    def client_fixture():
        with TestClient(app) as c:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top