juhaku / utoipa

Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
Apache License 2.0
2.35k stars 182 forks source link

Support for Callbacks and Webhooks as defined in OpenAPI v3.1 #686

Open davidlahuta opened 1 year ago

davidlahuta commented 1 year ago

Hello guys,

are there any plans to implement support for Callbacks and Webhooks?

juhaku commented 1 year ago

Open API 3.1 support in general is in timeline at least in parts of what is currently implemented from OpenAPI 3.0. What comes to anything else there hasn't been any plans but despite that they are not excluded and could be implemented if there is need for them. Yet I am not able to provide any timeline when I'd be able to take the initiative of adding the support for them.

Nonetheless PR:s are welcome, but before this the general 3.1 support should be added.

davidlahuta commented 1 year ago

Thanks for quick response, when the support for v3.1 is expected?

juhaku commented 1 year ago

when the support for v3.1 is expected?

Hard to tell, but it is one of the next few things that should be done.

davidlahuta commented 1 year ago

Thanks for feedback, would be great if you think about us and added support for callbacks and webhooks with v3.1 right away.

juhaku commented 1 month ago

@davidlahuta The OpenAPI 3.1 support is coming in utoipa 5.0.0 version later on and is implemented here: #981 However this does not yet include the webhooks and callbacks but those are planned be within the final 5.0.0 release.