Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Webhook headers incorrect type #1377

Closed
kellpossible opened this issue Jul 15, 2023 · 1 comment
Closed

Webhook headers incorrect type #1377

kellpossible opened this issue Jul 15, 2023 · 1 comment

Comments

@kellpossible
Copy link

https://github.com/bigcommerce/api-specs/blob/main/reference/webhooks.v3.yml#L3032

        headers:
          type: object
          description: 'Headers used to validate that webhooks are active. You can pass in any number of custom headers to validate webhooks are being returned. '
          nullable: true
          properties:
            custom:
              type: string

Should probably be:

        headers:
          type: object
          description: 'Headers used to validate that webhooks are active. You can pass in any number of custom headers to validate webhooks are being returned. '
          nullable: true
          additionalProperties:
             type: string
@slsriehl
Copy link
Contributor

Hi @kellpossible -- sorry for the delay in responding to this. The spec and the examples were updated by @kzhang-dsg in the following PRs:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants