Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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

(plus) doesn’t need more knowledge for Java Base contributors (more linear)

(minus) makes the controllers ticker

(plus) offer a centralized point for models mapping

(plus) can be customized or disabled where not required

(minus) it needs annotations (less linear)

(minus) it needs adjustments for Swagger documentation

Estimated cost

Status
colourGreen
titleSmall

Status
colourGreen
titlesmall

Status
colourGreen
titleSMALL

Action items

These are the proposed steps in order to take a decision

...