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
I'm getting the following error when I try to generate a kotlin-client with v3.0.0-rc1:
Exception in thread "Thread-1" java.lang.RuntimeException: Could not generate model 'body'
at io.swagger.codegen.DefaultGenerator.generateModels(DefaultGenerator.java:409)
at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:728)
at io.swagger.codegen.cmd.Generate.run(Generate.java:331)
at java.lang.Thread.run(Unknown Source)
Caused by: com.github.jknack.handlebars.HandlebarsException: /v2/kotlin-client/class_doc.mustache:6:133: found: '}}}', expected: '}}'
{{#vars}}**{{name}}** | {{#is this 'enum'}}[**inline**](#{{datatypeWithEnum}}){{/is}}{{#isNot this 'enum'}}{{#is this 'primitiveType'}}}**{{datatype}}**{{/is}}}{{#isNot this 'primitiveType'}}[**{{datatype}}**](
{{complexType}}.md){{/is}}}{{/is}} | {{description}} | {{^required}} [optional]{{/required}}{{#readOnly}} [readonly]{{/readOnly}}
The same file works fine with swagger 2
The text was updated successfully, but these errors were encountered:
kroegerama
changed the title
HandlebarsException in kotlin-client
HandlebarsException in kotlin-client (swagger 3.0.0-rc1)
Jun 9, 2018
I'm getting the following error when I try to generate a kotlin-client with v3.0.0-rc1:
The same file works fine with swagger 2
The text was updated successfully, but these errors were encountered: