Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a template folder path in the open api client generator #39

Open
JMalaval opened this issue Jul 3, 2024 · 0 comments
Open

Add a template folder path in the open api client generator #39

JMalaval opened this issue Jul 3, 2024 · 0 comments

Comments

@JMalaval
Copy link

JMalaval commented Jul 3, 2024

Hello 👋

I need to use your package so first of all thanks you very much for created it 🙏

I just need to add an option to add a folder template path. As you maybe know we can use template written in mustache in openapi client generator, an use it tu customize your package.json or any file you want. But its not added in your package so maybe you can add it please ?

I can write the PR if you want or just give you the code if you prefer, I shared it tou you.
You just need to add that

        options?.templateFolderPath
          ? `-t \"${options.templateFolderPath}\"`
          : '',

in src/openapi-client-generator/openapi-client-generator.service.ts

And obviously the templateFolderPath option in the type 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant