You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I try create custom template, but having a problem with template folder.
For beginning i just copy template typescript-fetch and try use it my local folder. docker run --rm -v C:\generatortest:/local openapitools/openapi-generator-cli:v5.4.0 generate -i /local/swagger_api.json -g typescript-custom -o /local/out/typescript8 --skip-validate-spec -t /local/template
In the console I see.
I need create new specific generator.
But I don't find a simple guide.
On this page
There doesn't say how to set the templates directory. And "-t" doesn't work.
I don't understand how to run the test template created after the command: meta -o out/generators/my-codegen -n my-codegen -p com.my.company.codegen
I use next command for generate:
docker run --rm -v C:\generatortest:/local openapitools/openapi-generator-cli:v6.2.1 generate
-i /local/swagger.json
-g my-codegen
-t /local/template
-o /local/out/typescript_2
Hi.
I try create custom template, but having a problem with template folder.
For beginning i just copy template typescript-fetch and try use it my local folder.
docker run --rm -v C:\generatortest:/local openapitools/openapi-generator-cli:v5.4.0 generate -i /local/swagger_api.json -g typescript-custom -o /local/out/typescript8 --skip-validate-spec -t /local/template
In the console I see.
I don't understand why not working special template folder...
Problem persists on the latest version docker container.
The text was updated successfully, but these errors were encountered: