Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for greater_than_equal (0.06 sec)

  1. tests/test_path.py

    def test_path_param_ge_2():
        response = client.get("/path/param-ge/2")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "greater_than_equal",
                    "loc": ["path", "item_id"],
                    "msg": "Input should be greater than or equal to 3",
                    "input": "2",
                    "ctx": {"ge": 3.0},
                }
            ]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 20.5K bytes
    - Viewed (1)
Back to top