AbsaOSS / AbsaOSS/springdoc-openapi-scala

Allow to overwrite/customise individual parameters on case class registration

オープン
#34 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Scala
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

#26 allowed users of the library to "globally" support custom types. This ticket intends to allow even greater deal of customisation - on an individual `case class` parameter (or path to parameter if `case classes` are nested).

## Proposal
Add optional Map parameter to model registration `.register` method , where key is path in case class of the field that user wants to overwrite, and value is Schema. Then use this map during registration, with the highest precedence.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。