-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: OpenAPItype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
NetBox Version
v3.7.2
Python Version
3.11
Steps to Reproduce
- create rack
- call API for Rack elevation (
GET /api/dcim/racks/$ID/elevation)
Expected Behavior
collection of RackElevation items in Swagger schema
[
{
"id": 12,
"name": "U12",
"face": {
"value": "front",
"label": "Front"
},
"device": {
"id": 79,
"url": "https://demo.netbox.dev/api/dcim/devices/79/",
"display": "Panduit 48-Port Patch Panel (79)",
"name": null
},
"occupied": true,
"display": "U12"
}
]Observed Behavior
type error, API return RackElevation collection for Rack ID, but in Swagger schema is return type Rack object
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: OpenAPItype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application