Open
Description
the generator stores an attribute mapping for serialization:
this mapping is generated from the OpenAPI spec with following conversions for TypeScript interfaces
DataDog/datadog-api-client-typescript/.generator/src/generator/formatter.py - attribute_name
When using the generated TS and converting directly to JSON string, the object won't match the API spec.
A hack is to "decamelize" (or "snake_case") the keys, but this doesn't guarantee correct results
Metadata
Metadata
Assignees
Labels
No labels
Activity