Dennis Reimann
c8558810ad
Fix swagger validation errors
...
Combined the files with the same approach as in the docs:
`jq -rs 'reduce .[] as $item ({}; . * $item)' swagger.template.* > openapi.json`
Afterwards the bundled version can be validated using these commands:
`npx swagger-cli validate openapi.json && npx @redocly/cli lint openapi.json`
2022-08-15 15:59:26 +02:00
Andrew Camilleri
a753459a6d
Fix update webhooks ( #4011 )
...
* Fix update webhooks
* Update swagger for webhook update
2022-08-03 18:35:31 +09:00
Umar Bolatov
aab1eb0d36
Ensure Swagger docs are semantically and structurally correct ( #3390 )
...
* Remove "delete" method from "/api/v1/stores/{storeId}/invoices/{invoiceId}/payment-methods" docs
* Remove "requestBody" from "delete" method of "/api/v1/stores/{storeId}/webhooks/{webhookId}"
* Rename "API Key" to "API_Key"
* Remove "scheme" from API_Key security scheme
* Remove "name" and "in" properties from "Basic"security scheme
2022-02-02 20:12:48 +09:00
Umar Bolatov
1e5934895d
Reference correct payment type definition for webhook events in Swagger docs
2022-02-02 10:09:58 +01:00
Umar Bolatov
037a77a573
Update Swagger docs for webhook event types ( #3104 )
...
close #2999
2021-11-15 13:08:54 +09:00
nicolas.dorier
f7a0b91ec1
Add boolean overPaid to the invoice settled webhook
2021-10-27 14:51:42 +09:00
Andrew Camilleri
6e3d6125c2
Payment Settled Webhook event ( #2944 )
...
* Payment Settled Webhook event
resolves #2691
* Move payment methods to payment services
2021-10-05 18:10:41 +09:00
Wouter Samaey
68595be323
Improved the names of the Invoice webhooks to reflect the event type in code + better descriptions ( #2598 )
...
* Improved the names of the Invoice webhooks to reflect the event type in code + better descriptions
* Gave proper name and better description.
* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.webhooks.json
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2021-07-30 14:33:23 +09:00
Umar Bolatov
6c76866f28
Update InvoiceConfirmed to InvoiceSettled in swagger ( #2681 )
...
fix #2580
2021-07-08 12:41:03 +09:00
Umar Bolatov
886e9ab511
Update WebhookDataBase Swagger definition ( #2578 )
...
close #2577
2021-06-18 11:01:23 +09:00
Andrew Camilleri
1ae6508a43
Make dates/timespan swagger docs more clear ( #2399 )
...
* Make dates/tiemspan swagger docs more clear
* fix schema conformity
2021-03-30 11:18:00 +09:00
nicolas.dorier
b12c6289d0
Fix link for webhooks
2020-12-02 20:37:38 +09:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states
2020-11-23 18:28:35 +09:00
nicolas.dorier
07c5c2972d
Add callback doc
2020-11-16 12:13:27 +09:00
nicolas.dorier
df79c2cf48
Improve tests of webhooks
2020-11-14 13:39:44 +09:00
nicolas.dorier
94bcbeb604
Add Greenfield API
2020-11-13 14:15:03 +09:00