Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for param_alias (0.07 sec)

  1. tests/test_request_param_model_by_alias.py

        client = TestClient(app)
        response = client.get("/query", params={"param_alias": "value"})
        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_header_model_with_alias():
        client = TestClient(app)
        response = client.get("/header", headers={"param_alias": "value"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top