java.lang.RuntimeException: Could not generate api file for 'Fake'


Solutions on the web

Solution icon of github
via GitHub by wing328
, 1 year ago
Could not generate api file for 'Fake'

Solution icon of github
via GitHub by Stormyy
, 1 year ago
Could not generate api file for 'App'

Solution icon of github
via GitHub by wing328
, 1 year ago
Could not generate api file for 'pet?testing_byte_array=true'

Solution icon of github
via GitHub by Stormyy
, 1 year ago
Could not generate model 'inline_response_200_11'

Solution icon of github
via GitHub by wing328
, 1 year ago
Could not generate model 'Pet'

Solution icon of github
via GitHub by scannerscan
, 11 months ago
Could not generate model 'EnumClass'

Solution icon of github
Could not generate model 'AAA'

Solution icon of github
via GitHub by wing328
, 1 year ago
Could not generate model 'Category'

Solution icon of github
via GitHub by jeusdi
, 1 year ago
Could not generate model 'DigitalResourceDTO'

Solution icon of github
Could not generate model 'customerUpdate'

Stack trace

java.lang.RuntimeException: Could not generate api file for 'Fake'
	at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:478)
	at io.swagger.codegen.cmd.Generate.run(Generate.java:223)
	at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)
Caused by: java.lang.RuntimeException: can't load template null/api.mustache
	at io.swagger.codegen.AbstractGenerator.readTemplate(AbstractGenerator.java:50)
	at io.swagger.codegen.DefaultGenerator.processTemplateToFile(DefaultGenerator.java:643)
	at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:437)
	... 2 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago