autodect Map<String, ComplexType> from `additionalProperties`
維護者通常 2 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
先閱讀 issue #10,並追蹤 additionalProperties 目前在 openapi-processor-base 中的對映方式。使用此 issue 中的兩個 schema 作為案例:完成的標準是在沒有明確對映的情況下自動偵測 Map<String, ...>,包括產生的巢狀物件型別。
由索引模型根據 Issue 內容生成。
描述
extracted from on openapi-processor/openapi-processor-spring/issues/150
if #10 works and produces maintainable code try to automatically detect a Map<String, ComplexType> from additionalProperties without an explicit mapping:
# ...
type: object
additionalProperties:
type: array
items:
type: string
or even more complex:
additionalProperties may contain an object that should be generated:
# ...
type: object
additionalProperties:
type: object
properties:
foo:
type: string
bar:
type: array
items:
type: string
- 主要語言
- Kotlin
- 星號
- 2
- 分支
- 4
- 平均合併
- 1 天 11 小時
- 30 天內合併 PR
- 10
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
openapi-processor/openapi-processor-base 的其他 Issue
-
jackson 3未關閉enhancement
難度 3/5 1-2 天 新手友好度 35/100
openapi-processor/openapi-processor-base#364 · 1 則留言 ·
維護者通常 2 天內回覆
-
enhancement
難度 3/5 1-2 天 新手友好度 25/100
openapi-processor/openapi-processor-base#304 ·
維護者通常 2 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
openapi-processor/openapi-processor-base#289 ·
維護者通常 2 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
openapi-processor/openapi-processor-base#283 · 11 則留言 ·
維護者通常 2 天內回覆
-
support webhooks未關閉
難度 5/5 一週以上 新手友好度 25/100
openapi-processor/openapi-processor-base#259 ·
維護者通常 2 天內回覆
查看 openapi-processor/openapi-processor-base 的全部 Issue
相似的 Issue
-
help wanted needs investigation priority: low
難度 2/5 1-3 小時 新手友好度 62/100
-
bug
難度 2/5 1-3 小時 新手友好度 62/100
LeanBitLab/LeanType#883 ·
維護者通常 1 天內回覆
-
Heavy legs 1.12–1.17: compiler corpus goldens not regenerated for #4770可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 74/100
intellij-elixir/intellij-elixir#4782 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
komikku-app/komikku#1983 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 62/100
Seb3thehacker/gearslip#121 ·