OpenAPI 3.1.0 Add webhooks support (#17174)

* Add support for webhooks

* Test webhook generation with Go Gin server

* Generate samples

* Removing \t

* Remove tabs
This commit is contained in:
Beppe Catanese
2023-12-11 04:21:23 +01:00
committed by GitHub
parent 8bb9a10b9f
commit 9eb5882f94
10 changed files with 363 additions and 14 deletions

View File

@@ -67,8 +67,7 @@ type ApiHandleFunctions struct {
}
func getRoutes(handleFunctions ApiHandleFunctions) []Route {
return []Route{
return []Route{
{
"AddPet",
http.MethodPost,