trumbitta / nx-trumbitta

💡An attempt to start collecting all of my Nx-related Open Source work in a mono-repo.
MIT License
47 stars 11 forks source link

feat(nx-plugin-openapi): add support for --template-dir option #84

Open matteomonti-bo opened 10 months ago

matteomonti-bo commented 10 months ago

Add support for --template-dir configuration via templateDir option.

Fixes: #30 Relates to: #69

matteomonti-bo commented 10 months ago

Hi @trumbitta! I'm trying to add an e2e test for this feature, but I'm struggling to figure out how to create a mock template folder in the test project (tmp/nx-e2e/proj). I can't find a configuration file for the proj project, where I can set the assets configuration in the build phase; but I'm not sure this is the best way to handle this. Could you please advise on how you would prefer it to be done? Thanks!