netbox-community / go-netbox

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

API changes for netbox 2.6 #47

Closed awlx closed 4 years ago

awlx commented 4 years ago

As referenced in https://github.com/netbox-community/go-netbox/issues/41 this is the first PR to make go-netbox compatible with Netbox 2.6.

quakelee commented 4 years ago

Great effort! I forked a version for my needs as well, but just updated it partially. I also did some change to make /api/dcim/_choice/ and /api/ipam/_choice/ work, I'd like to merge them to this version.

Anyway, looking forward updating.

awlx commented 4 years ago

Can you make a PR against my personal repo for now @quakelee ? So we can merge the stuff in one go?

awlx commented 4 years ago

It's autogenerated from swagger API.

quakelee commented 4 years ago

Can you make a PR against my personal repo for now @quakelee ? So we can merge the stuff in one go?

I'm so sorry, I met another issue in these days, so I didn't have time to follow up this PR. I'll merge my changes base on your new code, let me make a new PR for it.