Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for string_too_short (0.05 sec)

  1. tests/test_path.py

        response = client.get("/path/param-minlength/fo")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "string_too_short",
                    "loc": ["path", "item_id"],
                    "msg": "String should have at least 3 characters",
                    "input": "fo",
                    "ctx": {"min_length": 3},
                }
            ]
    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