Skip to main content

Crate lintel_explain

Crate lintel_explain 

Source
Expand description

§lintel-explain

Crates.io docs.rs CI License

Inspect JSON Schema documentation for specific properties and sub-schemas.

§Usage

lintel explain --schema <URL|FILE> [/pointer | $.jsonpath]
lintel explain --file <FILE> [/pointer | $.jsonpath]

When given a JSON Pointer (e.g. /properties/name), navigates to that sub-schema and renders its documentation. When given a JSONPath expression (e.g. $.name), converts it to the corresponding schema pointer automatically.

Part of the Lintel project.

§License

Apache-2.0

Structs§

ExplainArgs

Functions§

explain_args
Construct the bpaf parser for ExplainArgs.
run
Run the explain command.