Ask a Question

Callbacks without path

SOLVED
satafaka
Visitor

Callbacks without path

Hello everybody.
I want to document the data that my application sends to a registered url as a callback, without the user having to subscribe his/her url. The application has got the subscribed urls on another way.

Any idea how can i do this?

1 REPLY 1
HKosova
SmartBear Alumni (Retired)

Hi @satafaka,

 

Generic webhooks without an explicit subscription API will be supported in OpenAPI 3.1. OAS 3.1 will add a top-level webhooks element where such webhooks can be defined.

 

In the meantime, you can define these webhooks in the components/callbacks section or inside an extension key such as "x-webhooks".


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: