Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for path_example (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_schema_extra_examples.py

        #     return lastname
    
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/path_example/{item_id}")
            def path_example(
                item_id: str = Path(
                    example="item_1",
                ),
            ):
                return item_id
    
        @app.get("/path_examples/{item_id}")
        def path_examples(
            item_id: str = Path(
                examples=["item_1", "item_2"],
            ),
        ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top