Hey,
i've faced troubles with "making your own codegen modules" section from
this doc.
More specifically, after running the provided command
"java -jar modules/swagger-codegen-distribution/target/swagger-codegen-cli.jar meta -o output/myLibrary -n myClientCodegen -p com.my.company.codegen"
and building myLibrary (in the output directory) using
i'm trying to follow appropriate advice (from output/myLibrary/Readme.md): "You can now use that with codegen:", so when i try to run
java -cp /path/to/swagger-codegen-distribution:/path/to/your/jar io.swagger.codegen.Codegen -l myClientCodegen -o ./test
which in my simple case equals
java -cp ../../modules/swagger-codegen-cli:target/myClientCodegen-swagger-codegen-1.0.0.jar io.swagger.codegen.Codegen -l myClientCodegen -o ./test
i've got following error:
"Error: Could not find or load main class io.swagger.codegen.Codegen"
What should i do to avoid this?
Any help will be appreciated.