Skip to content

How to use OpenApi webhooks? #414

Answered by sunli829
senden9 asked this question in Q&A
Oct 19, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

sorry, docs is incorrect. 😂

 let api_service = OpenApiService::new(Api, "Hello World", "1.0")
        .webhooks::<&dyn MyWebhooks>()   <<<< <<
        .server("http://localhost:3000");

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@senden9
Comment options

Answer selected by senden9
Comment options

You must be logged in to vote
2 replies
@senden9
Comment options

@lijunfeng
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants