Just specify the type to be object, and have an empty set of properties.
--
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-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/7Fs7agD0_CY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
That depends on the different languages and their implementations. I suggest you try, and if you see something not working as expected, file a ticket on the project.
From: <swagger-sw...@googlegroups.com> on behalf of Siraset Jirapatchandej <vern...@gmail.com>
Reply-To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Date: Sunday, 18 December 2016 at 20:22
To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Subject: Re: Generic parameter and output from Swagger generated code
Hi Ron
Thank you for your reply. Just want to know more a bit that is it gonna work with swagger-codegen ?
On Sun, Dec 18, 2016 at 7:27 PM, Ron Ratovsky <r...@swagger.io> wrote:
Just specify the type to be object, and have an empty set of properties.
From: <swagger-sw...@googlegroups.com> on behalf of Siraset Jirapatchandej <vern...@gmail.com>
Reply-To: "swagger-sw...@googlegroups.com" <swagger-sw...@googlegroups.com>
Date: Sunday, 18 December 2016 at 5:13
To: Swagger <swagger-sw...@googlegroups.com>
Subject: Generic parameter and output from Swagger generated code
Hi All
I'm curious if I can do something like this in swagger file. I want to have Swagger generated ruby client that can take any json input and return any json output. Does swagger file have the way to deal with?
--
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-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Swagger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/swagger-swaggersocket/7Fs7agD0_CY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Siraset Jirapatchandej
Python Developer/Devops
--
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-swaggers...@googlegroups.com.