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
Issue #7845 reappeared in v. 3.0.1. The meta command
java -jar swagger-codegen-cli-3.0.1.jar meta -o myCodegenOAS3 -n myCodegenOAS3 -p com.mycompany.swagger
outputs the following error, and the custom generator is not created.
17:44:39.457 [main] DEBUG io.swagger.codegen.v3.cli.SwaggerCodegen - there are not options for command 'langs'
17:44:39.457 [main] DEBUG io.swagger.codegen.v3.cli.SwaggerCodegen - there are not options for command 'version'
17:44:39.482 [Thread-1] INFO io.swagger.codegen.v3.cli.cmd.Meta - writing to folder [C:\Soft\Development\Swagger\myCodegenOAS3]
17:44:39.547 [Thread-1] ERROR io.swagger.codegen.v3.AbstractGenerator - v2\codegen\pom.mustache (The system cannot find the path specified)
17:44:39.547 [Thread-1] ERROR io.swagger.codegen.v3.AbstractGenerator - can't load template v2\codegen\pom.mustache
Exception in thread "Thread-1" java.lang.RuntimeException: can't load template v2\codegen\pom.mustache
at io.swagger.codegen.v3.AbstractGenerator.readTemplate(AbstractGenerator.java:51)
at io.swagger.codegen.v3.cli.cmd.Meta.processFiles(Meta.java:92)
at io.swagger.codegen.v3.cli.cmd.Meta.lambda$run$0(Meta.java:76)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at io.swagger.codegen.v3.cli.cmd.Meta.run(Meta.java:76)
at java.lang.Thread.run(Unknown Source)
Description
Issue #7845 reappeared in v. 3.0.1. The
meta
commandoutputs the following error, and the custom generator is not created.
Swagger-codegen version
3.0.1, downloaded from:
https://oss.sonatype.org/content/repositories/releases/io/swagger/codegen/v3/swagger-codegen-cli/3.0.1/swagger-codegen-cli-3.0.1.jar
Java 1.8.0_181 64-bit
Windows 7 64-bit
Swagger declaration file content or url
n/a
Command line used for generation
See above
Steps to reproduce
See above
The text was updated successfully, but these errors were encountered: