-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Incorrect Field Type in Response for GET /api/dcim/device-type(/{id}/) Model Schema #15184
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
topic: OpenAPI
type: bug
A confirmed report of unexpected behavior in the application
Comments
jniec-js
added
the
type: bug
A confirmed report of unexpected behavior in the application
label
Feb 17, 2024
Please specify exactly what you expect to see in the specification for the field. |
jeremystretch
added
the
status: revisions needed
This issue requires additional information to be actionable
label
Feb 20, 2024
I would expect that the specification either say "nullable: true" or the response be an empty string for both fields. |
Can you point to an example of this elsewhere in the spec? |
jeremystretch
added
status: accepted
This issue has been accepted for implementation
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: needs owner
This issue is tentatively accepted pending a volunteer committed to its implementation
and removed
status: revisions needed
This issue requires additional information to be actionable
status: accepted
This issue has been accepted for implementation
labels
Feb 20, 2024
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
Feb 20, 2024
abhi1693
added a commit
that referenced
this issue
Feb 20, 2024
abhi1693
added a commit
that referenced
this issue
Feb 20, 2024
jeremystretch
pushed a commit
that referenced
this issue
Feb 20, 2024
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
topic: OpenAPI
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.1
Python Version
3.11
Steps to Reproduce
Expected Behavior
I expected that the types in the response from the query would match what types are defined in the model.
Observed Behavior
We get back the wrong type in the response from the API when a front and/or rear image is not attached to a device_type.
The text was updated successfully, but these errors were encountered: