Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for no_response_model_annotation_json_response_class (0.18 seconds)

  1. tests/test_response_model_as_return_annotation.py

    def no_response_model_annotation_response_class() -> Response:
        return Response(content="Foo")
    
    
    @app.get("/no_response_model-annotation_json_response_class")
    def no_response_model_annotation_json_response_class() -> JSONResponse:
        return JSONResponse(content={"foo": "bar"})
    
    
    client = TestClient(app)
    
    
    def test_no_response_model_no_annotation_return_model():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 50.3K bytes
    - Click Count (0)
Back to Top