Skip to content

Typo in Fastly integration: FastlyAccounResponseAttributes should be FastlyAccountResponseAttributes #3863

Description

@andreswebs

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

  1. Install github.com/DataDog/datadog-api-client-go/v2 at v2.56.0
  2. Browse or search the datadogV2 package for Fastly account response types
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBug related issuestaleStale - Bot reminder

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions