Skip to content

Type issue: additionalData.metadata should be Record<string,string> #1457

@naseemkullah

Description

@naseemkullah

https://github.com/Adyen/adyen-openapi/blob/fd75cc4d9b401950fcbf90539becc26c32b259a9/yaml/Webhooks-v1.yaml#L1658-L1663

As per the spec, its an object not a string

below is the current workaround:

notificationRequestItem.additionalData?.metadata as unknown as Record<
      string,
      string
    >,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions