Thanks for this project!
This line has bug in windows. Please fix it.Thanks.
https://github.com/fmvilas/openapi3-generator/blob/37231cfc8fb3bfde3320bc4fcf832dc84f35ccfb/lib/generator.js#L70
Maybe can use this.
const subdir = config.root.replace(config.templates_dir, '.');