hashicorp / terraform-plugin-codegen-openapi

OpenAPI to Terraform Provider Code Generation Specification
Mozilla Public License 2.0
49 stars 9 forks source link

Convert OAS property names to valid Terraform identifiers #59

Closed austinvalle closed 11 months ago

austinvalle commented 11 months ago

Closes #58

This ensures that OAS property names are converted to a valid Terraform identifier if needed and documents the expectations/caveats in the DESIGN.md. This was a lot easier because of the refactoring done in #51 🙏🏻

Notes

austinvalle commented 11 months ago

Chatted offline, for now we're going to introduce the name validation in codegen-spec as it'll be less noise to remove the validation later vs. adding it later

github-actions[bot] commented 3 months ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.