Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for no_response_model_annotation_return_exact_dict (0.14 sec)

  1. tests/test_response_model_as_return_annotation.py

    def no_response_model_annotation_return_same_model() -> User:
        return User(name="John", surname="Doe")
    
    
    @app.get("/no_response_model-annotation-return_exact_dict")
    def no_response_model_annotation_return_exact_dict() -> User:
        return {"name": "John", "surname": "Doe"}
    
    
    @app.get("/no_response_model-annotation-return_invalid_dict")
    def no_response_model_annotation_return_invalid_dict() -> User:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top