[IOT-3055] Fix to handle single element of batch
Response for collection with batch interface should be an array and not
object, This change will fix the case when the collection resource have
to send only one element in response, instead of sending it as array of
one element it sends as single object
As per OCF 2.0 spec , for single element case the response should be an
array even for single element
Change-Id: I29a2bafd1d163c4754cc3edcb77c15661399cbeb
Signed-off-by:
koushik.girijala <g.koushik@samsung.com>
Showing
Please register or sign in to comment