Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_path_param_le_ge_int (0.26 sec)

  1. tests/main.py

    
    @app.get("/path/param-lt-gt-int/{item_id}")
    def get_path_param_lt_gt_int(item_id: int = Path(lt=3, gt=1)):
        return item_id
    
    
    @app.get("/path/param-le-ge-int/{item_id}")
    def get_path_param_le_ge_int(item_id: int = Path(le=3, ge=1)):
        return item_id
    
    
    @app.get("/query")
    def get_query(query):
        return f"foo bar {query}"
    
    
    @app.get("/query/optional")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. tests/test_application.py

                                    }
                                },
                            },
                        },
                        "summary": "Get Path Param Le Ge Int",
                        "operationId": "get_path_param_le_ge_int_path_param_le_ge_int__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
Back to top