Openapi schema is incomplete for /api/dcim/connected-device #8097

Closed
opened 2025-12-29 20:32:20 +01:00 by adam · 0 comments
Owner

Originally created by @lyuyangh on GitHub (May 22, 2023).

Originally assigned to: @abhi1693 on GitHub.

NetBox version

v3.5.1

Python version

3.11

Steps to Reproduce

Go to "REST API Documentation - /api/dcim/connected-device" (URL of the demo instance)

Expected Behavior

The "Parameters" section should show peer_device and peer_interface. The "Responses" section should show the "Schema".

Observed Behavior

Both are empty. When executing the request on the UI, the server returns "400: Request must include "peer_device" and "peer_interface" filters.". These filters are also missing from /schema.

image
Originally created by @lyuyangh on GitHub (May 22, 2023). Originally assigned to: @abhi1693 on GitHub. ### NetBox version v3.5.1 ### Python version 3.11 ### Steps to Reproduce Go to "REST API Documentation - /api/dcim/connected-device" ([URL of the demo instance](https://demo.netbox.dev/api/schema/swagger-ui/#/dcim/dcim_connected_device_retrieve)) ### Expected Behavior The "Parameters" section should show `peer_device` and `peer_interface`. The "Responses" section should show the "Schema". ### Observed Behavior Both are empty. When executing the request on the UI, the server returns "400: Request must include \"peer_device\" and \"peer_interface\" filters.". These filters are also missing from `/schema`. <img width="1436" alt="image" src="https://github.com/netbox-community/netbox/assets/22896307/e17eb1ad-1a90-41b9-a401-b4cecf0fe455">
adam added the type: bugstatus: acceptedtopic: OpenAPI labels 2025-12-29 20:32:20 +01:00
adam closed this issue 2025-12-29 20:32:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8097