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
Exception in thread "Thread-1" java.lang.RuntimeException: Could not generate model 'ApiResponse'
at io.swagger.codegen.v3.DefaultGenerator.generateModels(DefaultGenerator.java:455)
at io.swagger.codegen.v3.DefaultGenerator.generate(DefaultGenerator.java:783)
at io.swagger.codegen.v3.cli.cmd.Generate.run(Generate.java:351)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /javascript/model.mustache
at com.github.jknack.handlebars.io.URLTemplateLoader.sourceAt(URLTemplateLoader.java:70)
at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:438)
at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:419)
at io.swagger.codegen.v3.templates.HandlebarTemplateEngine.getHandlebars(HandlebarTemplateEngine.java:48)
at io.swagger.codegen.v3.templates.HandlebarTemplateEngine.getRendered(HandlebarTemplateEngine.java:24)
at io.swagger.codegen.v3.DefaultGenerator.processTemplateToFile(DefaultGenerator.java:799)
at io.swagger.codegen.v3.DefaultGenerator.generateModels(DefaultGenerator.java:442)
... 3 more
The text was updated successfully, but these errors were encountered:
virendrasinghpawar
changed the title
FileNotFoundException: /javascript/model.mustache
[javascript]FileNotFoundException: /javascript/model.mustache
Dec 5, 2019
swagger-codegen generate -i http://petstore.swagger.io/v2/swagger.json -l javascript
Exception in thread "Thread-1" java.lang.RuntimeException: Could not generate model 'ApiResponse'
at io.swagger.codegen.v3.DefaultGenerator.generateModels(DefaultGenerator.java:455)
at io.swagger.codegen.v3.DefaultGenerator.generate(DefaultGenerator.java:783)
at io.swagger.codegen.v3.cli.cmd.Generate.run(Generate.java:351)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /javascript/model.mustache
at com.github.jknack.handlebars.io.URLTemplateLoader.sourceAt(URLTemplateLoader.java:70)
at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:438)
at com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:419)
at io.swagger.codegen.v3.templates.HandlebarTemplateEngine.getHandlebars(HandlebarTemplateEngine.java:48)
at io.swagger.codegen.v3.templates.HandlebarTemplateEngine.getRendered(HandlebarTemplateEngine.java:24)
at io.swagger.codegen.v3.DefaultGenerator.processTemplateToFile(DefaultGenerator.java:799)
at io.swagger.codegen.v3.DefaultGenerator.generateModels(DefaultGenerator.java:442)
... 3 more
The text was updated successfully, but these errors were encountered: