AbsaOSS / AbsaOSS/springdoc-openapi-scala

Allow to overwrite/customise individual parameters on case class registration

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.