netbox-community / go-netbox

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

IpamPrefixesAvailablePrefixesCreate error no value given for required property children #180

Open akos011221 opened 1 month ago

akos011221 commented 1 month ago

Hello,

I'm trying to create a child prefix under a container with IpamPrefixAvailablePrefixesCreate. My PrefixRequest contains the following properties:

AdditionalProperties (prefix_length), Description and a CustomField, named Location.

When I'm executing the ApiIpamPrefixesAvailablePrefixesCreateRequest with that content, the Execute returns a "no value given for required property children" error.

The HTTP response is still returning with 201 and the prefix is getting created in Netbox. But the returned []netbox.Prefix contains zero values.