Use JSON schemas for our vulnerability services, where possible #72
Labels
component:vuln-sources
Components that provide sources of vulnerability information
Milestone
OSV and PyPI both provide JSON APIs, both of which are (probably?) schematized.
We should embed their schemas and generate models (maybe
pydantic
ones) from them, to give ourselves more confidence about the shape of the responses we expect and to better conform to correctness by construction.The text was updated successfully, but these errors were encountered: