What’s generated by the editor is an example – it will show only one item.

 

 

 

From: <[email protected]> on behalf of A One 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Tuesday, 27 June 2017 at 11:23
To: Swagger <[email protected]>
Subject: Re: Writing array nodes in swagger editor

 

I can't figure out how to write the first one in YAML, exactly the point i 
start adding multiple nodes adding to respones

On Tuesday, June 27, 2017 at 7:15:09 PM UTC+1, A One wrote: 

Hello here is what am trying to achieve

{ 
   "getServiceTemplateThingsResponse":{ 
      "requestId":"",
      "partner_id":"",
      "customer_id":"0000",
      "result_code":"",
      "result_description":"",
      "response":[ 
         { 
            "udid":"",
            "imsi":"",
            "iccid":"",
            "euiccid":"",
            "ip":"",
            "state":""
         },
         { 
            "udid":"",
            "imsi":"",
            "iccid":"",
            "euiccid":"",
            "ip":"",
            "state":""
         },    
]
   }
}

 

But here is what am able to do so far on swagger editor, please help me out



{ 
   "getServiceTemplateThingsResponse":{ 
      "requestId":"",
      "partner_id":"",
      "customer_id":"0000",
      "result_code":"",
      "result_description":"",
      "response":[ 
         { 
            "udid":"",
            "imsi":"",
            "iccid":"",
            "euiccid":"",
            "ip":"",
            "state":""
         }
      ]
   }
}

 

 

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