Forum Discussion

vfolgosa's avatar
vfolgosa
New Contributor
5 years ago

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.site/ and nothing gets there.

Has anyone worked with callbacks in SwaggerHub Mock ?

 

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    Hi vfolgosa,

     

    API Auto Mocking does not support callbacks.

    • vfolgosa's avatar
      vfolgosa
      New Contributor

      Thanks Helen, I'm looking for a solution to use the callbacks, or simulate then, do you know if I can define my own events using webhook integration? And fire that event from mock api?