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

doc-generator - allow subset to filter supported URIs #433

Open
jautor opened this issue Nov 23, 2022 · 1 comment
Open

doc-generator - allow subset to filter supported URIs #433

jautor opened this issue Nov 23, 2022 · 1 comment

Comments

@jautor
Copy link
Member

jautor commented Nov 23, 2022

Subset mode doesn't allow for filtering the list of supported URIs - since many schemas can appear in multiple locations in the resource tree, and a particular implementation will almost certainly only support a "subset" of those, the tool should allow a customized list. Suggest both an additive and subtractive method for ease of editing: include_uris - show only these URIs in place of the uris from schema. exclude_uris - show the uris from schema except for this list.

@jautor
Copy link
Member Author

jautor commented Jun 23, 2023

This is probably covered now by the new config file option excluded_schema_uris which applies globally and uses string matching. That likely covers the use case as it's actually simpler to scrub out whole sub-trees with a single entry - which probably aligns to a subset output anyway.

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

No branches or pull requests

1 participant