openapi-processor / openapi-processor/openapi-processor-base
use x-tension value in annotation mapping
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- Kotlin
- スター
- 2
- フォーク
- 4
- 平均マージ
- 4日 55分
- マージ済み PR(30日)
- 9
説明
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})
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に示されている拡張機能のマッピング構文を確認し、x-foobar アノテーションが現在どのように生成されているかを追跡します。x-tension の値とアノテーションパラメーターのプレースホルダーをどのように表現すべきかを判断し、その値が生成されたアノテーションに到達することを示すマッピング動作とカバレッジを定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- kotlin
- 領域
- backend-api-design, tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100