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].
For more options, visit https://groups.google.com/d/optout.

Attachment: schema.json
Description: application/json

Reply via email to