cancel
Showing results for 
Search instead for 
Did you mean: 

Callbacks without path

SOLVED
Highlighted
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 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Callbacks without path

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. ⬇️⬇️⬇️

View solution in original post

1 REPLY 1
Highlighted
Moderator

Re: Callbacks without path

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. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors
Top Kudoed Posts