Just specify the type to be object, and have an empty set of properties.

 

 

From: <[email protected]> on behalf of Siraset 
Jirapatchandej <[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Sunday, 18 December 2016 at 5:13
To: Swagger <[email protected]>
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 [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