### Affected version 3.4.0 ### Bug description For example, I have an archetype like this: ``` |- __rootArtifactId__-openapi |- api | - index.ts ``` When generating the `index.ts` file, the path will be replaced with `__rootArtifactId__-open/api/index.ts`.