...
almost 90% of ModelDTOs in “api” would be identical to Models in “core”
some ModelDTO (10%) may need a dedicated mapping
the Swagger documentation need to be coherent with the code
Options considered
Option 1: | Option 2: | Option 3: | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | Linear mapping | Automapping | AbstractController | ||||||||||||||||||
Pros and cons | doesn’t need more knowledge for Java Base contributors (more linear) makes the controllers ticker | offer a centralized point for models mapping can be customized or disabled where not required it needs annotations (less linear) it needs adjustments for Swagger documentation | |||||||||||||||||||
Estimated cost |
|
|
|
Action items
These are the proposed steps in order to take a decision
...