Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for general (0.16 sec)

  1. docs/en/docs/advanced/generate-clients.md

        {!> ../../../docs_src/generate_clients/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23  28  36"
        {!> ../../../docs_src/generate_clients/tutorial002.py!}
        ```
    
    ### Generate a TypeScript Client with Tags
    
    If you generate a client for a FastAPI app using tags, it will normally also separate the client code based on the tags.
    
    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)
  2. docs/zh/docs/advanced/generate-clients.md

    frontend-app@1.0.0 generate-client /home/user/code/frontend-app
    > openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios
    ```
    
    </div>
    
    此命令将在 `./src/client` 中生成代码,并将在其内部使用 `axios`(前端HTTP库)。
    
    ### 尝试客户端代码
    
    现在您可以导入并使用客户端代码,它可能看起来像这样,请注意,您可以为这些方法使用自动补全:
    
    <img src="/img/tutorial/generate-clients/image02.png">
    
    您还将自动补全要发送的数据:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/generate-clients.md

    Anschließend können Sie diese benutzerdefinierte Funktion als Parameter `generate_unique_id_function` an **FastAPI** übergeben:
    
    === "Python 3.9+"
    
        ```Python hl_lines="6-7  10"
        {!> ../../../docs_src/generate_clients/tutorial003_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8-9  12"
        {!> ../../../docs_src/generate_clients/tutorial003.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/generate-clients.md

    frontend-app@1.0.0 generate-client /home/user/code/frontend-app
    > openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios
    ```
    
    </div>
    
    👈 📋 🔜 🏗 📟 `./src/client` &amp; 🔜 ⚙️ `axios` (🕸 🇺🇸🔍 🗃) 🔘.
    
    ### 🔄 👅 👩‍💻 📟
    
    🔜 👆 💪 🗄 &amp; ⚙️ 👩‍💻 📟, ⚫️ 💪 👀 💖 👉, 👀 👈 👆 🤚 ✍ 👩‍🔬:
    
    <img src="/img/tutorial/generate-clients/image02.png">
    
    👆 🔜 🤚 ✍ 🚀 📨:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top