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
Hello,
I'm trying to generate models from a multi-file api and was experimenting with --external-ref-resolution but it gives:
Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter '--external-ref-resolution' but no main parameter was defined in your arg class
at com.beust.jcommander.JCommander.initMainParameterValue(JCommander.java:961)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:762)
at com.beust.jcommander.JCommander.parse(JCommander.java:363)
at com.beust.jcommander.JCommander.parse(JCommander.java:342)
at com.cjbooms.fabrikt.cli.CodeGenArgs$Companion.parse(CodeGenArgs.kt:29)
at com.cjbooms.fabrikt.cli.CodeGen.main(CodeGen.kt:17)
Thanks, @cjbooms, for checking. It's indeed working for version 18.0.0 once fixed. I was using fabrikt("com.cjbooms:fabrikt:+")
as in the example and that fails.
Hello,
I'm trying to generate models from a multi-file api and was experimenting with
--external-ref-resolution
but it gives:for info, here are all my args:
Is this parameter actually supported?
Thanks
The text was updated successfully, but these errors were encountered: