Describe the bug
The Fastly account response attributes type and its associated file are missing the letter t in "Account". The exported type name, constructor functions, and file name are all affected.
To Reproduce
- Install
github.com/DataDog/datadog-api-client-go/v2 at v2.56.0
- Browse or search the
datadogV2 package for Fastly account response types
- Find
FastlyAccounResponseAttributes (missing t) instead of FastlyAccountResponseAttributes
Expected behavior
The type, constructors, and file should be named with the correct spelling:
FastlyAccountResponseAttributes (not FastlyAccounResponseAttributes)
NewFastlyAccountResponseAttributes() (not NewFastlyAccounResponseAttributes())
model_fastly_account_response_attributes.go (not model_fastly_accoun_response_attributes.go)
Screenshots
N/A
Environment and Versions:
github.com/DataDog/datadog-api-client-go/v2: v2.56.0
- Go 1.26
Additional context
Fix likely needs to happen in the OpenAPI spec or the generator templates rather than in the Go file directly. Fixing the exported type name is a breaking change — a deprecated type alias pointing to the corrected name would allow smooth migration for existing consumers.
Describe the bug
The Fastly account response attributes type and its associated file are missing the letter
tin "Account". The exported type name, constructor functions, and file name are all affected.To Reproduce
github.com/DataDog/datadog-api-client-go/v2at v2.56.0datadogV2package for Fastly account response typesFastlyAccounResponseAttributes(missingt) instead ofFastlyAccountResponseAttributesExpected behavior
The type, constructors, and file should be named with the correct spelling:
FastlyAccountResponseAttributes(notFastlyAccounResponseAttributes)NewFastlyAccountResponseAttributes()(notNewFastlyAccounResponseAttributes())model_fastly_account_response_attributes.go(notmodel_fastly_accoun_response_attributes.go)Screenshots
N/A
Environment and Versions:
github.com/DataDog/datadog-api-client-go/v2: v2.56.0Additional context
Fix likely needs to happen in the OpenAPI spec or the generator templates rather than in the Go file directly. Fixing the exported type name is a breaking change — a deprecated type alias pointing to the corrected name would allow smooth migration for existing consumers.