Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 418 for Summary (0.1 seconds)

  1. tests/test_request_body_parameters_media_type.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/products": {
                        "post": {
                            "summary": "Create Product",
                            "operationId": "create_product_products_post",
                            "requestBody": {
                                "content": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. fastapi/applications.py

                    app = FastAPI(title="ChimichangApp")
                    ```
                    """
                ),
            ] = "FastAPI",
            summary: Annotated[
                str | None,
                Doc(
                    """
                    A short summary of the API.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  3. tests/test_schema_compat_pydantic_v2.py

            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users": {
                        "get": {
                            "summary": "Get User",
                            "operationId": "get_user_users_get",
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. tests/test_security_api_key_cookie.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Current User",
                            "operationId": "read_current_user_users_me_get",
                            "security": [{"APIKeyCookie": []}],
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  5. tests/test_security_http_bearer_optional.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Current User",
                            "operationId": "read_current_user_users_me_get",
                            "security": [{"HTTPBearer": []}],
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. tests/test_security_oauth2_authorization_code_bearer_description.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Items",
                            "operationId": "read_items_items__get",
                            "security": [{"OAuth2AuthorizationCodeBearer": []}],
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. tests/test_security_oauth2_password_bearer_optional.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Items",
                            "operationId": "read_items_items__get",
                            "security": [{"OAuth2PasswordBearer": []}],
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. tests/test_security_api_key_cookie_description.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Current User",
                            "operationId": "read_current_user_users_me_get",
                            "security": [{"APIKeyCookie": []}],
                        }
                    }
                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  9. docs/de/docs/index.md

    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Oder verwenden Sie <code>async def</code> ...</summary>
    
    Wenn Ihr Code `async` / `await` verwendet, benutzen Sie `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  10. docs/uk/docs/index.md

    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Або використайте <code>async def</code>...</summary>
    
    Якщо ваш код використовує `async` / `await`, скористайтеся `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
Back to Top