AbsaOSS / AbsaOSS/springdoc-openapi-scala

Allow to overwrite/customise individual parameters on case class registration

未关闭
#34 0 条评论 0 个 reaction 已指派 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 摘要。