netbox-community / go-netbox

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

fix Issue #74: response IpamPrefixesAvailableIpsRead incorrect model #75

Closed miticotoby closed 4 years ago

miticotoby commented 4 years ago

PR#70 is also helpful for this part to work properly but not required for this specific issue

stefanmcshane commented 4 years ago

@miticotoby Can you make this commit on the official netbox swagger.json?

Based on https://github.com/netbox-community/go-netbox/pull/67 the maintainers seem to be trying to autogenerate the client, so manual changes would not work. The Netbox maintainers seemed to welcome the change.

@mraerino for vis

miticotoby commented 4 years ago

I will certainly try! :) thanks for the pointer.

kobayashi commented 4 years ago

Thank you for your contribution. Please open an issue in netbox if you want to change this.