Well, that’s no swagger document!  So I don’t expect it would work.

> On May 8, 2017, at 10:38 AM, Aleksei Badyaev <[email protected]> 
> wrote:
> 
> I tried generate Python client for my REST API with command (as is in 
> documentation in swagger-codegen):
> 
> $ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar 
> generate -i /tmp/schema.json -l python -o /tmp/client_python
> [main] INFO io.swagger.parser.Swagger20Parser - reading from /tmp/schema.json
> [main] INFO io.swagger.parser.Swagger20Parser - reading from /tmp/schema.json
> Exception in thread "main" java.lang.RuntimeException: missing swagger input 
> or config!
>     at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:653)
>     at io.swagger.codegen.cmd.Generate.run(Generate.java:234)
>     at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:43)
> 
> Swagger Spec file attached. Where is my mistake??
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <schema.json>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to