🐛 Invalid OpenAPI schema
| Netbox Version | Plugin Version |
|---|---|
| 3.6.9 | 1.0.1 |
Actual Behavior
The following schemas:
MacAddressMacAddressRequestPatchedMacAddressRequest
All have a status field which is a nullable string. The OpenAPI schema defines an enum of valid choices:
"enum": [
"active",
"inactive",
"quarantined",
"",
null
],
Yet, the default value has a typo:
"default": "Inactive",
This produce an error when trying to generate the Python Client ( https://code.europa.eu/digit-c4/netbox/python-netbox-client ).
Desired Behavior
The default value should be lowercase to match exactly the values in the enum, I edited the OpenAPI schema after downloading it to be able to generate the Python Client.