openapi-generators / openapi-generators/openapi-python-client
Calling the generator from cli works with different syntax from documentation
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 2k
- 分支
- 293
- 平均合併
- 34 分鐘
- 30 天內合併 PR
- 1
描述
Describe the bug
Calling from cli using the suggested method with python -m does not work.
python -m openapi-python-client --version
PATH_TO_PYTHON\python.exe: No module named openapi-python-client
Using underscores, however, does work (python -m openapi_python_client -version):
python -m openapi_python_client --version
openapi-python-client version: 0.24.3
OpenAPI Spec File
Not applicable
Desktop (please complete the following information):
- OS: Windows 11 (Microsoft Windows NT 10.0.26100.0)
- Python Version: [e.g. 3.12.7]
- openapi-python-client version [e.g. 0.24.3]
Additional context
Running from a powershell instance in VSCode with a conda environment selected as a Python interpreter.
Would it be possible to add a line to the documentation mentioning the call with python -m?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 issue 中連結的 README 位置開始,將其中記載的 python -m 呼叫方式與報告中所示的可正常運作的底線形式進行比較。在專案的 CLI 情境中驗證該指令,然後更新文件,使支援的呼叫方式明確且一致。完成的標準是新手可以成功依照 README 中的指令操作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- cli, documentation
- Issue 類型
- 文件
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 58/100