Skip to content

[OpenAPI] _occupied is type of string, instead boolean #6456

@FalcoSuessgott

Description

@FalcoSuessgott

NetBox version

v2.11.1

Python version

3.9

Steps to Reproduce

Currently the field _occupied is implemented as type of string instead of boolean. This applies for all models with the field _occupied.

See CircuitTermination:
[...]

"_occupied": {
   "title": "occupied",
   "type": "string",
   "readOnly": true
}

Expected Behavior

I expect _occupied to by type of boolean.

Observed Behavior

Unable to Parse API Response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions