AbsaOSS / AbsaOSS/springdoc-openapi-scala

Allow to overwrite/customise individual parameters on case class registration

Đang mở
#34 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Scala
Star
2
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

#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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.