hashicorp / terraform-plugin-codegen-openapi

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

Re-order JSON to match new `codegen-spec` type order #10

Closed austinvalle closed 1 year ago

austinvalle commented 1 year ago

Just ran the binary against the internal/cmd/testdata OAS to reflect new order of JSON in source control. #4 changed the order of the type properties, which is reflected in the JSON marshalling. Luckily non of the unit tests rely on this order 😆.

./terraform-plugin-codegen-openapi generate
    --config ./internal/cmd/testdata/github/tfopenapigen_config.yml
    --output ./internal/cmd/testdata/github/generated_framework_ir.json 
    ./internal/cmd/testdata/github/openapi_spec.json

This isn't necessarily important, however I have an upcoming PR that is going to change some of this data and the source control diff is better this way 😄

Note

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.