Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Run (0.11 sec)

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

      "devDependencies": {
        "@hey-api/openapi-ts": "^0.27.38",
        "typescript": "^4.6.2"
      }
    }
    ```
    
    After having that NPM `generate-client` script there, you can run it with:
    
    <div class="termy">
    
    ```console
    $ npm run generate-client
    
    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
    ```
    
    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)
Back to top