dips, Please start a discussion via https://github.com/swagger-api/swagger-codegen/issues/new so that the swagger codegen community can help further.
packageUrl is referenced in the setup.py: https://github.com/swagger-api/swagger-codegen/blob/58b66a0b0a35b498379c40716b3e26b37ddce514/modules/swagger-codegen/src/main/resources/python/setup.mustache#L27 William dips aws於 2017年4月1日星期六 UTC+8上午1時18分29秒寫道: > > is that the correct format to specify a local swaggerUrl ? It returns an > error : {"code":1,"type":"error","message":"The swagger specification > supplied was not valid"} > > Also, wanted to know the meaning of packageUrl in Config Options for > python. > > packageUrl > python package URL. > > What URL would this be? > > Also for swagger editor, how/where do you specify the config.json > paramters in the editor? like say for example packageName. If i don't > specify packageName it would store all the methods in default_api.py. > > Thanks. Appreciate your response. > > dips > > > On Friday, March 31, 2017 at 9:48:15 AM UTC-7, Ron wrote: >> >> Yup, JSON, YAML, doesn’t matter. >> >> >> >> >> >> *From: *<[email protected]> on behalf of dips aws < >> [email protected]> >> *Reply-To: *"[email protected]" < >> [email protected]> >> *Date: *Friday, 31 March 2017 at 0:46 >> *To: *Swagger <[email protected]> >> *Subject: *swagger generator >> >> >> >> Hi, >> >> >> >> can the swagger online generator be used for yaml files as well ? I've >> the .yaml files locally on my system and so would below work? >> >> >> >> curl -X POST -H "content-type:application/json" -d >> '{"swaggerUrl":"restapi.yaml"}' >> https://generator.swagger.io/api/gen/clients/python -k >> >> {"code":1,"type":"error","message":"The swagger specification supplied >> was not valid"} >> >> >> >> thanks ! >> >> >> >> >> >> -- >> 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. >> >> -- 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.
