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

Improve handling of underscored property names in input parameters #466

Open
andy-maier opened this issue Feb 3, 2022 · 0 comments
Open

Comments

@andy-maier
Copy link
Member

The modules currently require that HMC resource properties are specified with underscores in the property names, where they have hyphens in the HMC WS API book description.

Since all hyphens must be transformed to underscores, the zhmc code could do that automatically, thus accepting both undersorcored names and hyphened names.

This should be done in the following places;

  • all modules that get properties as input
  • trouble shooting hint in the docs
  • maybe: improve the ParameterError message to not just indicate it is not defined in the data model, but to also hint to the case where the data model git additional properties and the zhmc module does not yet support them.
@andy-maier andy-maier changed the title Impriove handling of underscored property names in input parameters Improve handling of underscored property names in input parameters Apr 7, 2022
@andy-maier andy-maier added this to the 1.9.0 milestone Jan 13, 2024
@andy-maier andy-maier modified the milestones: 1.9.0, 1.10.0 Jun 27, 2024
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