Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lyuyangh opened this issue May 22, 2023 · 0 comments · Fixed by #12897
Closed

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

lyuyangh opened this issue May 22, 2023 · 0 comments · Fixed by #12897
Assignees
Labels
status: accepted This issue has been accepted for implementation topic: OpenAPI type: bug A confirmed report of unexpected behavior in the application

Comments

@lyuyangh
Copy link

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
@lyuyangh lyuyangh added the type: bug A confirmed report of unexpected behavior in the application label May 22, 2023
@lyuyangh lyuyangh changed the title Openapi schema is missing for /api/dcim/connected-device Openapi schema is incomplete for /api/dcim/connected-device May 22, 2023
@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation topic: OpenAPI labels May 23, 2023
@abhi1693 abhi1693 self-assigned this Jun 14, 2023
@abhi1693 abhi1693 added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Jun 14, 2023
abhi1693 added a commit that referenced this issue Jun 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation topic: OpenAPI type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants