-
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
Swagger/OpenAPI mismatch with returned data for DeviceInterface.ConnectedEndpoint #4808
Comments
@clienthax Since this is the third such issue you've opened recently (in addition to #4803 and #4804), I'm going to ask you to volunteer to take on at least one of them. |
@jeremystretch If i knew how to resolve the issues in Netbox itself I would of done that instead of opening issue reports. |
We make a reasonable effort to ensure the automatically generated OpenAPI spec is accurate. However, supporting the ability to dynamically generate a full client based on the spec is not a design goal, so this sort of "bug" is not going to get a lot of attention from the core maintainers. So, if this is something you need from the project, I encourage you to commit the time and effort to own the issues you've opened. Otherwise, unless someone else volunteers to own the work, it's likely not going to get addressed and the issue will be automatically closed after a few weeks of inactivity. |
That's a reasonable approach. At its core, this and pynetbox are where the lion's share of activity and usage occur. The generated client code in go-netbox gets us most of the way to where we want to be. Some hand-massaging of the golang repo between releases shouldn't be a massive problem. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide. |
This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary. |
Environment
Steps to Reproduce
Expected Behavior
Swagger to match returned data.
Observed Behavior
error: json: cannot unmarshal number into Go struct field DeviceInterface.connected_endpoint of type string
It seems this is defined in OAS/swagger as a map[string]string instead of a structure.
The text was updated successfully, but these errors were encountered: