go-netbox icon indicating copy to clipboard operation
go-netbox copied to clipboard

Call to IpamVlanGroupsRead fails

Open joeyberkovitz opened this issue 3 years ago • 0 comments
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.

joeyberkovitz avatar Jul 02 '22 20:07 joeyberkovitz