netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.35k stars 2.49k forks source link

Missing fields in openapi Rack and Site schemas #16719

Closed grimurd closed 6 days ago

grimurd commented 1 week ago

Deployment Type

Self-hosted

NetBox Version

v4.0.6

Python Version

3.12

Steps to Reproduce

Make a request to /api/dcim/racks/{id} or /api/dcim/sites/{id} and compare it to the respective openapi schemas

Expected Behavior

Schema and response should be the same

Observed Behavior

Rack and Site schema and response are wildly different, schemas are missing most fields from the response

arthanson commented 6 days ago

This is a dupe of #16670, closing.