a new schema but not works
<https://lh3.googleusercontent.com/-aAa4rpKNITI/WgUYPvizbtI/AAAAAAAAAHY/4kDj4lTEUVUywU_wbI8_4aUDESey4QjYgCLcBGAs/s1600/photo2.PNG>
在 2017年11月10日星期五 UTC+8上午9:35:04,陈怀宇写道:
>
> Hello everyone
>
>
> I want to write a API respond which response a array as blow:
>
>
> definitions:
> DeviceArray:
> type: array
> items:
> type: string
> example:
> - {"DeviceID": 103609131103,"NetworkName":
> "nzp-20007-gnd-rt-01","RelativeName": "
> NZP-20007-GND-RT-01.PST.SYTECNMS.NET","Type": null}
> - {"DeviceID": 105621398103,"NetworkName":
> "nzp-20007-gnd-as-01","RelativeName": "
> NZP-20007-GND-AS-01.PST.SYTECNMS.NET","Type": null}
> - {"DeviceID": 122403148102,"NetworkName": null,"RelativeName":
> "BEAS/U_NTU_001","Type": "NTU"}
> - {"DeviceID": 165002297102,"NetworkName": null,"RelativeName":
> "BEAS/G_HSNS SDP_001","Type": "Alcatel MSAP"}
> - {"DeviceID": 165002320102,"NetworkName": "10.6.194.126","RelativeName":
> "BEAS/G_ONEA1424X_001","Type": "OneAccess IAD/Router"}
> - {"DeviceID": 160885080102,"NetworkName": null,"RelativeName":
> "BEAS/U_CISCO_1921_001","Type": "Cisco Packet Switch"}
>
>
> but I get respond is :
> [
> ""
> ]
>
>
> how to solve this question ?
>
>
>
>
--
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.