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

oem-integrator - Filter schema files in the output dir based on supported schema/versions #492

Open
ryweldon opened this issue Feb 18, 2025 · 1 comment

Comments

@ryweldon
Copy link

ryweldon commented Feb 18, 2025

Requesting enhancement that provides a method to limit the schema files produced in the output directory.

  • Provide a method to completely remove schema that are unsupported
    -- Consider using the /uris property if all are "@meta.Enabled": false

  • Provide a method to limit schema versions for a given schema based on the supported versions
    -- Consider pulling in the /definitions/{schema}/anyOf array from the base entity into the associated config file and use the @meta.Enabled property to indicate support.

Goal is to use the output schema as direct input into the doc-generator without performing any post-processing.

@mraineri
Copy link
Contributor

This would be a good addition. We might want to control with with a config option though (I have folks expecting all versions of the file.... for some reason). Will work with @abhirupseal to see what he thinks.

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

No branches or pull requests

2 participants