Skip to content

Add support for external $ref #201

Open
@samueleresca

Description

@samueleresca

Hey,

Thanks for this crate.

I was using it to generate some code based on the following NVD schema: https://csrc.nist.gov/schema/nvd/api/2.0/cve_api_json_2.0.schema

It would be useful to add the support for fetching external $ref coming from the file system or via HTTP:

E.g.:

"cvss-v30": {
...
	"properties": {
		"cvssData": {"$ref": "//csrc.nist.gov/schema/nvd/api/2.0/external/cvss-v3.0.json" },
	},
...
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions