Closed austinvalle closed 10 months ago
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Context
Per: https://github.com/hashicorp/terraform-plugin-codegen-openapi/blob/main/DESIGN.md#attribute-names
Not all OAS properties can be automatically converted into a valid framework identifier, however the conversion process can leave some property names empty and cause confusing error messages.
Example:
Resulting IR:
Error message:
Solutions
While we can't generate a valid framework name for this property, a better error message should be displayed with a reference to the offending property in the OAS