netbox-community / go-netbox

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

Fix available ips create responses #141

Closed lotanaharoni closed 1 year ago

lotanaharoni commented 1 year ago

Fixed "json: cannot unmarshal object into Go value of type []models.IPAddress" error

v0ctor commented 1 year ago

Since everything under the netbox directory is automatically generated from the OpenAPI spec, all changes made would be overwritten by the next code regeneration.

I'm going to close the PR, but feel free to make the corresponding contribution to the Netbox repo for the OpenAPI specification to include the right types (if not already fixed in later versions).