Yup, JSON, YAML, doesn’t matter.

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of dips aws 
<rockygene...@gmail.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Friday, 31 March 2017 at 0:46
To: Swagger <swagger-swaggersocket@googlegroups.com>
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to