I have two endpoints:

/rest/v2.2/devices/{deviceId}/subscription
/rest/v2.2/devices/{deviceId}/online

and the GET and PUT response for both looks like:

{
status=true
}
or
{
status=false
}

I need to define a schema such that there is a single object Status which 
is imported by Subscription and Online. I think we need to make use of 
allOf here? Not exactly sure, how do I achieve this?

-- 
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