Update WebhookDataBase Swagger definition (#2578)

close #2577
This commit is contained in:
Umar Bolatov 2021-06-17 19:01:23 -07:00 committed by GitHub
parent 3c80621dac
commit 886e9ab511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -571,13 +571,16 @@
"description": "Which event should be received by this endpoint",
"properties": {
"everything": {
"type": "string",
"type": "boolean",
"description": "If true, the endpoint will receive all events related to the store.",
"nullable": false,
"default": true
},
"specificEvents": {
"type": "string",
"type": "array",
"items": {
"type": "string"
},
"description": "If `everything` is false, the specific events that the endpoint is interested in. Current events are: `InvoiceCreated`, `InvoiceReceivedPayment`, `InvoiceProcessing`, `InvoiceExpired`, `InvoiceSettled`, `InvoiceInvalid`.",
"nullable": false
}