You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -114,6 +115,7 @@ The `documentation` section of the event configuration can contain the following
114
115
* `pathParams`: a list of path parameters (see [pathParams](#pathparams) below) - **these _can_ be autogenerated for you from TypeScript**
115
116
* `cookieParams`: a list of cookie parameters (see [cookieParams](#cookieparams) below)
116
117
* `methodResponses`: an array of response models and applicable status codes (see [methodResponses](#methodresponses-and-responsemodels)) - **these _will_ be autogenerated for you from TypeScript**
118
+
* `webhooks`: an object with all the webhooks with descriptions (see [webhooks](#webhooks)) - **these _will_ be autogenerated for you from TypeScript**
117
119
118
120
```yml
119
121
functions:
@@ -435,6 +437,68 @@ functions:
435
437
436
438
Endpoints that are not attached to a custom tag, are still attached to the title ( which is the default tag ).
437
439
440
+
#### `webhooks`
441
+
OpenAPI have an option to add your application `webhooks`, while this feature isn't supported by `serverless`.
442
+
443
+
For those the plugin will look for the webhooks under `custom.documentation.webhooks`.
0 commit comments