Skip to content

AdditionalProperties and UnparsedObject are undocumented #2486

@mx-psi

Description

@mx-psi

Describe the bug

All autogenerated structs have an AdditionalProperties and UnparsedObject. AdditionalProperties is used when using MarshalJSON to add any extra fields, but is currently undocumented. I don't know what the purpose of UnparsedObject is. We should document it!

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://datadoghq.dev/datadog-api-client-go/pkg/github.com/DataDog/datadog-api-client-go/v2/api/datadogV2/#MetricPayload
  2. See that these two fields are undocumented

Expected behavior

All fields have a docstring documenting what they do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocumentation related changesstaleStale - Bot reminder

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions