netbox-community / go-netbox

The official Go API client for Netbox IPAM and DCIM service.
Other
195 stars 146 forks source link

Updated count_ipaddresses to integer in swagger.json #67

Closed stefanmcshane closed 4 years ago

stefanmcshane commented 4 years ago

count_ipaddresses was string which caused go to be able to unmarshal. Updated to integer.

mraerino commented 4 years ago

this is a really large diff with a lot of unrelated changes.

since we have the goal of generating the library from a vanilla swagger.json (from /api/docs), i opened a PR on netbox to fix the swagger type: https://github.com/netbox-community/netbox/pull/4396

kobayashi commented 4 years ago

This is fixed by the commit in netbox