Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for customizer (0.21 sec)

  1. docs/de/docs/advanced/openapi-callbacks.md

    Sehen wir uns das alles anhand eines Beispiels an.
    
    Stellen Sie sich vor, Sie entwickeln eine Anwendung, mit der Sie Rechnungen erstellen kรถnnen.
    
    Diese Rechnungen haben eine `id`, einen optionalen `title`, einen `customer` (Kunde) und ein `total` (Gesamtsumme).
    
    Der Benutzer Ihrer API (ein externer Entwickler) erstellt mit einem POST-Request eine Rechnung in Ihrer API.
    
    Dann wird Ihre API (beispielsweise):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/openapi-callbacks.md

    ๐Ÿ‘‰ ๐Ÿ’ผ, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ’š ๐Ÿ“„ โ” ๐Ÿ‘ˆ ๐Ÿ”ข ๐Ÿ› ๏ธ *๐Ÿ”œ* ๐Ÿ‘€ ๐Ÿ’–. โšซ๏ธโ” *โžก ๐Ÿ› ๏ธ* โšซ๏ธ ๐Ÿ”œ โœ”๏ธ, โšซ๏ธโ” ๐Ÿ’ช โšซ๏ธ ๐Ÿ”œ โŒ›, โšซ๏ธโ” ๐Ÿ“จ โšซ๏ธ ๐Ÿ”œ ๐Ÿ“จ, โ™’๏ธ.
    
    ## ๐Ÿ“ฑ โฎ๏ธ โฒ
    
    โžก๏ธ ๐Ÿ‘€ ๐ŸŒ ๐Ÿ‘‰ โฎ๏ธ ๐Ÿ–ผ.
    
    ๐ŸŒˆ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ“ฑ ๐Ÿ‘ˆ โœ” ๐Ÿ— ๐Ÿงพ.
    
    ๐Ÿ‘‰ ๐Ÿงพ ๐Ÿ”œ โœ”๏ธ `id`, `title` (๐Ÿ“ฆ), `customer`, & `total`.
    
    ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ‘† ๐Ÿ› ๏ธ (๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป) ๐Ÿ”œ โœ ๐Ÿงพ ๐Ÿ‘† ๐Ÿ› ๏ธ โฎ๏ธ ๐Ÿค ๐Ÿ“จ.
    
    โคด๏ธ ๐Ÿ‘† ๐Ÿ› ๏ธ ๐Ÿ”œ (โžก๏ธ ๐ŸŒˆ):
    
    * ๐Ÿ“จ ๐Ÿงพ ๐Ÿ•ด ๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป.
    * ๐Ÿ“ˆ ๐Ÿ’ธ.
    * ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”™ ๐Ÿ› ๏ธ ๐Ÿ‘ฉโ€๐Ÿ’ป (๐Ÿ”ข ๐Ÿ‘ฉโ€๐Ÿ’ป).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    ### Custom Generate Unique ID Function
    
    FastAPI uses a **unique ID** for each *path operation*, it is used for the **operation ID** and also for the names of any needed custom models, for requests or responses.
    
    You can customize that function. It takes an `APIRoute` and outputs a string.
    
    For example, here it is using the first tag (you will probably have only one tag) and the *path operation* name (the function name).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. fastapi/security/oauth2.py

            )
    
    
    class OAuth2(SecurityBase):
        """
        This is the base class for OAuth2 authentication, an instance of it would be used
        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
        existing subclasses, and maybe compose them if you want to support multiple flows.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  5. docs/en/docs/tutorial/metadata.md

    # Metadata and Docs URLs
    
    You can customize several metadata configurations in your **FastAPI** application.
    
    ## Metadata for API
    
    You can set the following fields that are used in the OpenAPI specification and the automatic API docs UIs:
    
    | Parameter | Type | Description |
    |------------|------|-------------|
    | `title` | `str` | The title of the API. |
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

        * PR [#278](https://github.com/tiangolo/fastapi/pull/278).
    
    ## 0.26.0
    
    * Separate error handling for validation errors.
        * This will allow developers to customize the exception handlers.
        * Document better how to handle exceptions and use error handlers.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  7. docs/en/docs/advanced/openapi-callbacks.md

    Imagine you develop an app that allows creating invoices.
    
    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    * Collect the money.
    * Send a notification back to the API user (the external developer).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/openapi-callbacks.md

    API ๅบ”็”จ่ฐƒ็”จๅค–้ƒจ API ๆ—ถ็š„ๆต็จ‹ๅซๅš**ๅ›ž่ฐƒ**ใ€‚ๅ› ไธบๅค–้ƒจๅผ€ๅ‘่€…็ผ–ๅ†™็š„่ฝฏไปถๅ‘้€่ฏทๆฑ‚่‡ณๆ‚จ็š„ API๏ผŒ็„ถๅŽๆ‚จ็š„ API ่ฆ่ฟ›่กŒๅ›ž่ฐƒ๏ผŒๅนถๆŠŠ่ฏทๆฑ‚ๅ‘้€่‡ณๅค–้ƒจ APIใ€‚
    
    ๆญคๆ—ถ๏ผŒๆˆ‘ไปฌ้œ€่ฆๅญ˜ๆกฃๅค–้ƒจ API ็š„*ไฟกๆฏ*๏ผŒๆฏ”ๅฆ‚ๅบ”่ฏฅๆœ‰ๅ“ชไบ›*่ทฏๅพ„ๆ“ไฝœ*๏ผŒ่ฟ”ๅ›žไป€ไนˆๆ ท็š„่ฏทๆฑ‚ไฝ“๏ผŒๅบ”่ฏฅ่ฟ”ๅ›žๅ“ช็งๅ“ๅบ”็ญ‰ใ€‚
    
    ## ไฝฟ็”จๅ›ž่ฐƒ็š„ๅบ”็”จ
    
    ็คบไพ‹ๅฆ‚ไธ‹ใ€‚
    
    ๅ‡่ฎพ่ฆๅผ€ๅ‘ไธ€ไธชๅˆ›ๅปบๅ‘็ฅจ็š„ๅบ”็”จใ€‚
    
    ๅ‘็ฅจๅŒ…ๆ‹ฌ `id`ใ€`title`๏ผˆๅฏ้€‰๏ผ‰ใ€`customer`ใ€`total` ็ญ‰ๅฑžๆ€งใ€‚
    
    API ็š„็”จๆˆท ๏ผˆๅค–้ƒจๅผ€ๅ‘่€…๏ผ‰่ฆๅœจๆ‚จ็š„ API ๅ†…ไฝฟ็”จ POST ่ฏทๆฑ‚ๅˆ›ๅปบไธ€ๆกๅ‘็ฅจ่ฎฐๅฝ•ใ€‚
    
    ๏ผˆๅ‡่ฎพ๏ผ‰ๆ‚จ็š„ API ๅฐ†๏ผš
    
    * ๆŠŠๅ‘็ฅจๅ‘้€่‡ณๅค–้ƒจๅผ€ๅ‘่€…็š„ๆถˆ่ดน่€…
    * ๅฝ’้›†็Žฐ้‡‘
    * ๆŠŠ้€š็Ÿฅๅ‘้€่‡ณ API ็š„็”จๆˆท๏ผˆๅค–้ƒจๅผ€ๅ‘่€…๏ผ‰
        * ้€š่ฟ‡๏ผˆไปŽๆ‚จ็š„ API๏ผ‰ๅ‘้€ POST ่ฏทๆฑ‚่‡ณๅค–้ƒจ API ๏ผˆๅณ**ๅ›ž่ฐƒ**๏ผ‰ๆฅๅฎŒๆˆ
    
    ## ๅธธ่ง„ **FastAPI** ๅบ”็”จ
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:28 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. fastapi/applications.py

                    """
                ),
            ] = None,
            generate_unique_id_function: Annotated[
                Callable[[routing.APIRoute], str],
                Doc(
                    """
                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  10. fastapi/routing.py

                    """
                ),
            ] = True,
            generate_unique_id_function: Annotated[
                Callable[[APIRoute], str],
                Doc(
                    """
                    Customize the function used to generate unique IDs for the *path
                    operations* shown in the generated OpenAPI.
    
                    This is particularly useful when automatically generating clients or
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top