Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_custom_schema_fields.py

                "type": "string",
            },
            "description": {
                "title": "Description",
                "type": ["string", "null"],
            },
        },
    }
    
    
    def test_custom_response_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json()["components"]["schemas"]["Item"] == item_schema
    
    
    def test_response():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top