For our vue/typescript based project, we use typescript-fetch generator to generate our .ts files from the .yaml files.
The way how this works out of the box, is that all generated files are dumped into 1 folder called models.
Want we want to achieve is the following, say for example we have 2 yaml files. We want to have the files generated divided in subdirectories per .yaml file.
Currently: /models/ all generated files are outputted here
The goal: /directoryNameOfYamlFile/models
Is there any way to achieve this? I included some images to hopefully make the wished result more clear.