fbreckle / go-netbox

Package netbox provides an API client for DigitalOcean's NetBox IPAM and DCIM service.
Other
1 stars 22 forks source link

Changes to allow available_ips to be created #8

Closed holmesb closed 2 years ago

holmesb commented 2 years ago

1) model returned by paths /*/available-ips/ from AvailableIP to IPAddress.  2) model IPAddress's assigned_object property from string to object otherwise it fails to unmarshall

These are needed for PR #106 in terraform-provider-netbox

fbreckle commented 2 years ago

Oof this is hard to review with 1500 files changed. Did you remove the license thing on purpose?

holmesb commented 2 years ago

Ah, generation errored for a while when I included the license, but I've just tried again and it worked, I'll reinstate...

holmesb commented 2 years ago

OK pushed, I'll squash into a single commit before merge.

The only material change is to preprocess.py. That (& swagger) drove all the others.