map inline names to nicer names
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- kotlin, openapi
调研方向
未指定任何文件、测试或入口点。首先明确名称映射应在哪里配置,以及 JSON 路径还是生成的名称属于受支持的键;在确定需要修改的生成器代码和测试之前,先定义未匹配映射的警告行为。
由索引模型根据 Issue 内容生成。
描述
/bookings/{bookingId}/payment:
post:
responses:
'200':
generates the response object as BookingsBookingIdPaymentPostResponse200.
Would it be useful to have the possibility to map that identifier to a nicer name?
mapping could use
- json path to nice java name
- generated java name to nice java name
the processor would have to warn if the inline name did not exists.
benefit:
it would not be necessary to define responses etc. as named schema to get a proper java class name
drawback:
harder to maintain?
- 主要语言
- 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 ·