Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_openapi_schema_pv2 (0.08 sec)

  1. tests/test_tutorial/test_response_directly/test_tutorial001.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "description": "A test item",
            "timestamp": "2023-01-01T12:00:00",
            "title": "Foo",
        }
    
    
    def test_openapi_schema_pv2(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "info": {
                "title": "FastAPI",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top