OpenAPITools / OpenAPITools/openapi-generator
[Java][microprofile] dateLibrary config not used
未關閉
還沒有人認領這個 Issue。
- 主要語言
- Java
- 星號
- 26.8k
- 分支
- 7.7k
- PR 合併指標
- PR 指標待擷取
描述
Description
The recently added Java Cleint Library "microprofile" uses fix org.joda.time.LocalDate as LocalDate and does not consider the dateLibrary configuration. Line 422 in JavaClientCodegen.
Deos this behaviour has a specific reason? Or could this line being deleted which would activate the dateLibrary logic from AbstractJavaCodegen.
openapi-generator version
4.3.0
OpenAPI declaration file content or url
Command line used for generation
mvn
Steps to reproduce
any service with a LocalDate
Related issues/PRs
Suggest a fix/enhancement
delete line 422 in JavaClientCodegen
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 JavaClientCodegen 的第 422 行開始,將其固定的 org.joda.time.LocalDate 對映與 AbstractJavaCodegen 中的 dateLibrary 邏輯進行比較。使用任何包含 LocalDate 的 service 以及報告中描述的 Maven 命令重現此問題。當 microprofile Java client 遵循已設定的 dateLibrary 時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100