Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for f__get (0.09 sec)

  1. tests/test_generic_parameterless_depends.py

        assert response.json() == {
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "openapi": "3.1.0",
            "paths": {
                "/a": {
                    "get": {
                        "operationId": "a_a_get",
                        "responses": {
                            "200": {
                                "content": {"application/json": {"schema": {}}},
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. tests/test_additional_responses_response_class.py

                                "content": {"application/vnd.api+json": {"schema": {}}},
                            },
                        },
                        "summary": "A",
                        "operationId": "a_a_get",
                    }
                },
                "/b": {
                    "get": {
                        "responses": {
                            "500": {
                                "description": "Error",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. tests/test_response_class_no_mediatype.py

                                },
                            },
                            "200": {"description": "Successful Response"},
                        },
                        "summary": "A",
                        "operationId": "a_a_get",
                    }
                },
                "/b": {
                    "get": {
                        "responses": {
                            "500": {
                                "description": "Error",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. tests/test_response_code_no_body.py

                                },
                            },
                            "204": {"description": "Successful Response"},
                        },
                        "summary": "A",
                        "operationId": "a_a_get",
                    }
                },
                "/b": {
                    "get": {
                        "responses": {
                            "204": {"description": "No Content"},
                            "200": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    It is equivalent to `set(["name", "description"])`.
    
    ///
    
    #### Using `list`s instead of `set`s { #using-lists-instead-of-sets }
    
    If you forget to use a `set` and use a `list` or `tuple` instead, FastAPI will still convert it to a `set` and it will work correctly:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Recap { #recap }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top