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.

Reply via email to