- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_optional_schema (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_request_params/test_file/test_optional.py
return {"file_size": p.size if p else None} @pytest.mark.parametrize( "path", [ "/optional-bytes", "/optional-uploadfile", ], ) def test_optional_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 9.8K bytes - Click Count (0)