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

Bus type default value is generated only for arg spec, not for documentation #83

Open
machacekondra opened this issue Mar 20, 2024 · 1 comment

Comments

@machacekondra
Copy link
Contributor

machacekondra commented Mar 20, 2024

https://github.com/ansible-community/ansible.content_builder/blob/main/plugins/action/generate_cloud_modules.py#L410

If argument is bus, code generator generates default value as 0, but only for argument specification, not for the documentation itself, which isn't a valid module. The default value must be specified for both.

Most of the modules don't specify default values, default values are specified only as a description of argument, which is taken from API.

Why do we need to set the bus default value to 0?

It's failing the CI, and the documentation must be manually edited. Can we remove the generation of the default value = 0 for bus?

@machacekondra
Copy link
Contributor Author

CC @alinabuzachis @GomathiselviS

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

1 participant