Open RussianDragon opened 2 years ago
Can't load config class with name 'typescript-custom'
looks like that's the issue. it can't find the generator "typescript-custom"
Unless you are implementing your own generator by extending the class you have to use the same typescript-axios generator but with another template
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.