-
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
Automatically build JSON schema for the device type library with each release #10030
Comments
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. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
This could be a good candidate for 3.6 |
I agree this would be great! |
I have marked the PR as ready for review. This should be ready to be merged. Let me know if you need anything changed |
NetBox version
v3.2.9
Feature type
New functionality
Proposed functionality
Implement a mechanism for generating JSON schema for device type and related definitions. This could be a Django management command (e.g.
manage.py buildschema
), the output of which would be included with each NetBox release.Use case
The NetBox devicetype library includes JSON schema for validating device and module type definitions. These definitions must be kept up-to-date with NetBox itself, which is currently a manual process. Generating the schema automatically and publishing it with each NetBox release will remove this administrative burden.
Additionally, once we implement #4347, schema can be generated for all relevant models as an additional resource.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: