go-netbox
go-netbox copied to clipboard
Call to IpamVlanGroupsRead fails
trafficstars
The Swagger definition for the Scope field in a VLAN group is listed as a string, although it can be an object as well. Example:
"scope": {
"id": 1,
"url": "http://netbox/api/dcim/sites/1/",
"display": "TEST Site",
"name": "TEST Site",
"slug": "test"
},
When this happens, the API call fails with an unmarshaling error.