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 Oem schema doc be generated #446

Open
lindappwu opened this issue May 13, 2023 · 0 comments
Open

doc-generator - allow Oem schema doc be generated #446

lindappwu opened this issue May 13, 2023 · 0 comments

Comments

@lindappwu
Copy link

lindappwu commented May 13, 2023

Oem schema definitions cannot be generated by doc-generator because Oem object is fungible and doesn't contain any direct references to specific Oem extensions, so the tool doesn't pick up those definitions.

Take an example from "public-oem-examples" with below config.

/doc-generator/sample_inputs/subset/config.json

"import_from": [ "./mockups/public-oem-examples/Contoso.com" ]

/doc-generator/sample_inputs/subset/docgen-subset.json

     "IncludeSchemas": {
        "ContosoServiceRoot": {},
        "ContosoAccountService": {},
        "ContosoTurboencabulatorService": {}
     }

ContosoTurboencabulatorService schema can be generated successfully, but ContosoServiceRoot and ContosoAccountService schema cannot.

Suggest to enhance the tool for including Oem schema definitions.

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

2 participants