Forum Discussion

vfolgosa's avatar
vfolgosa
New Contributor
5 years ago
Solved

Callback not working on SwaggerHub Mock

Hello, I cant put the callback to work, here is my spec, that a copied from a example: https://app.swaggerhub.com/apis/vinicius.folgosa/TesteCallbacks/1.0.0 I created a webhook on https://webhook.s...
  • HKosova's avatar
    5 years ago

    Hi vfolgosa,

     

    API Auto Mocking does not support callbacks.

  • HKosova's avatar
    HKosova
    5 years ago

    Webhook events and payload are pre-defined, so they cannot be used for callbacks.

     

    Please feel free to submit an enhancement request to add support for callbacks in API mocks:
    https://support.smartbear.com/message/?prod=SwaggerHub