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] <javascript:>> on behalf of dips 
> aws <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Friday, 31 March 2017 at 0:46
> *To: *Swagger <[email protected] <javascript:>>
> *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] <javascript:>.
> 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.

Reply via email to