Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for custom (0.19 sec)

  1. docs/em/docs/how-to/extending-openapi.md

    ### ๐Ÿ˜ **FastAPI**
    
    ๐Ÿฅ‡, โœ ๐ŸŒ ๐Ÿ‘† **FastAPI** ๐Ÿˆธ ๐Ÿ›Ž:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### ๐Ÿ— ๐Ÿ—„ ๐Ÿ”—
    
    โคด๏ธ, โš™๏ธ ๐ŸŽ ๐Ÿš™ ๐Ÿ”ข ๐Ÿ— ๐Ÿ—„ ๐Ÿ”—, ๐Ÿ”˜ `custom_openapi()` ๐Ÿ”ข:
    
    ```Python hl_lines="2  15-20"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### ๐Ÿ”€ ๐Ÿ—„ ๐Ÿ”—
    
    ๐Ÿ”œ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿšฎ ๐Ÿ“„ โ†”, โŽ ๐Ÿ›ƒ `x-logo` `info` "๐ŸŽš" ๐Ÿ—„ ๐Ÿ”—:
    
    ```Python hl_lines="21-23"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.7K bytes
    - Viewed (1)
  2. docs/en/docs/how-to/extending-openapi.md

    ### Normal **FastAPI**
    
    First, write all your **FastAPI** application as normally:
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Generate the OpenAPI schema
    
    Then, use the same utility function to generate the OpenAPI schema, inside a `custom_openapi()` function:
    
    ```Python hl_lines="2  15-21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/extending-openapi.md

    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Das OpenAPI-Schema generieren
    
    Verwenden Sie dann dieselbe Hilfsfunktion, um das OpenAPI-Schema innerhalb einer `custom_openapi()`-Funktion zu generieren:
    
    ```Python hl_lines="2  15-21"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Das OpenAPI-Schema รคndern
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/extending-openapi.md

    ### ๅธธ่ง„ **FastAPI**
    
    ้ฆ–ๅ…ˆ๏ผŒ็ผ–ๅ†™ๅธธ่ง„ **FastAPI** ๅบ”็”จ๏ผš
    
    ```Python hl_lines="1  4  7-9"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### ็”Ÿๆˆ OpenAPI ๆฆ‚ๅ›พ
    
    ็„ถๅŽ๏ผŒๅœจ `custom_openapi()` ๅ‡ฝๆ•ฐ้‡Œไฝฟ็”จ `get_openapi()` ๅทฅๅ…ทๅ‡ฝๆ•ฐ็”Ÿๆˆ OpenAPI ๆฆ‚ๅ›พ๏ผš
    
    ```Python hl_lines="2  15-20"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### ไฟฎๆ”น OpenAPI ๆฆ‚ๅ›พ
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top