Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for includes (0.14 sec)

  1. fastapi/param_functions.py

                It will affect the generated OpenAPI (e.g. visible at `/docs`).
                """
            ),
        ] = None,
        include_in_schema: Annotated[
            bool,
            Doc(
                """
                To include (or not) this parameter field in the generated OpenAPI.
                You probably don't need it, but it's available.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. tests/test_generate_unique_id_function.py

            responses={404: {"model": List[Message]}},
        )
        def post_subrouter(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        router.include_router(sub_router)
        app.include_router(router, generate_unique_id_function=custom_generate_unique_id3)
        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top