From 46a87e79e8084b3696e5d01405ecc8fb381bd20c Mon Sep 17 00:00:00 2001 From: Alexandre Touret <alexandre.touret@free.fr> Date: Wed, 16 Mar 2022 11:10:53 +0100 Subject: [PATCH] feat: add short mapstruct documentation --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 65eed319..c5e5c707 100644 --- a/readme.md +++ b/readme.md @@ -115,7 +115,10 @@ Here are the generated file types: The whole configuration of the generation is handled by [OpenAPI Generator maven plugin](https://github.com/OpenAPITools/openapi-generator/) and is located in the [pom.xml](./pom.xml) file. -To run this plugin and by this way generate the classes, you have to run the following command: +Besides of that, the mapping between the DTOs and entities are done using [MapStruct](https://mapstruct.org/). +The mapper generation is done automatically during the build time. + +To run both and by this way generate the classes, you have to run the following command: ```jshelllanguage mvn clean install -- GitLab