Skip to content
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

Move JSON schema validation into #[test] scope #741

Closed
justahero opened this issue Jul 10, 2024 · 0 comments · Fixed by #750
Closed

Move JSON schema validation into #[test] scope #741

justahero opened this issue Jul 10, 2024 · 0 comments · Fixed by #750

Comments

@justahero
Copy link
Contributor

Move the function validate_json_with_schema into the test scope. This is to limit a lot of dependencies to tests that are pulled in by the jsonschema crate.

Users of the cyclonedx-bom should not require these dependencies, the generated JSON BOM files in cyclonedx-bom already conform to their schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant