equinix / equinix-sdk-go

Golang client for Equinix APIs
https://deploy.equinix.com/labs/equinix-sdk-go
MIT License
2 stars 4 forks source link

[Metal] Can't load all pages for the FindIPReservations endpoint #18

Open ctreatma opened 5 months ago

ctreatma commented 5 months ago

The FindIPReservations endpoint only has an Execute() method even though the endpoint is paginated.

The ExecuteWithPagination method is missing because the request object does not have a page parameter, which means there's no way to tell this generated client to fetch pages beyond 1.

The API spec for the findIPReservations path needs to be updated to reference the page parameter. There is an example of referencing the page parameter in the findProjectEvents endpoint.