use x-tension value in annotation mapping
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- kotlin
调研方向
首先,查看 issue 中展示的扩展映射语法,并追踪当前如何生成 x-foobar 注解。确定应如何表示 x-tension 值和注解参数占位符,然后定义哪些映射行为和覆盖范围能够证明该值已传递到生成的注解中。
由索引模型根据 Issue 内容生成。
描述
Having an x-tension property with value
Foo:
type: object
properties:
bar:
type: integer
x-foobar: raboof
it would probably be nice if I could pass the value to the annotation.
how wold the mapping look like?
extensions:
# the mapping expects the source type to be a `string`. It would need
# - an identifier to represent the x-tension value and
# - an identifier as placeholder for the annotation parameter
# placeholder could look like this
x-foobar: ?? @ io.openapiprocessor.annotation.Foobar(value = {value})
# value source type could be this?
x-foobar: {value} @ io.openapiprocessor.annotation.Foobar(value = {value})
- 主要语言
- 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 ·