mirror of
https://github.com/valitydev/swag-webhook-events.git
synced 2024-11-06 02:15:22 +00:00
add invoiceId and paymentId in userInteraction for webhook + update redocly config
This commit is contained in:
parent
9daaca806b
commit
73fa32d427
@ -1,18 +1,18 @@
|
||||
# See https://docs.redoc.ly/cli/configuration/ for more information.
|
||||
apiDefinitions:
|
||||
core: 'openapi/openapi.yaml'
|
||||
lint:
|
||||
plugins:
|
||||
- './plugins/local.js'
|
||||
extends:
|
||||
- recommended
|
||||
rules:
|
||||
tag-description: off
|
||||
preprocessors:
|
||||
local/merge-schemas: on
|
||||
referenceDocs:
|
||||
showConsole: true
|
||||
layout:
|
||||
scope: section
|
||||
routingStrategy: browser
|
||||
htmlTemplate: ./web/index.html
|
||||
extends:
|
||||
- recommended
|
||||
apis:
|
||||
core:
|
||||
root: ./openapi/openapi.yaml
|
||||
plugins:
|
||||
- './plugins/local.js'
|
||||
rules:
|
||||
tag-description: off
|
||||
preprocessors:
|
||||
local/merge-schemas: on
|
||||
theme:
|
||||
openapi:
|
||||
showConsole: true
|
||||
layout: three-panel
|
||||
routingStrategy: browser
|
||||
htmlTemplate: ./web/index.html
|
||||
|
@ -2,8 +2,16 @@ description: |
|
||||
Event about request user interaction completed
|
||||
required:
|
||||
- userInteractionDetails
|
||||
- invoiceId
|
||||
- paymentId
|
||||
allOf:
|
||||
- $ref: '../schemas/Event.yaml'
|
||||
properties:
|
||||
userInteractionDetails:
|
||||
$ref: '../schemas/UserInteractionDetails.yaml'
|
||||
invoiceId:
|
||||
description: Invoice ID
|
||||
type: string
|
||||
paymentId:
|
||||
description: Payment ID
|
||||
type: string
|
||||
|
@ -2,8 +2,16 @@ type: object
|
||||
description: Event about request user interaction
|
||||
required:
|
||||
- userInteractionDetails
|
||||
- invoiceId
|
||||
- paymentId
|
||||
allOf:
|
||||
- $ref: '../schemas/Event.yaml'
|
||||
properties:
|
||||
userInteractionDetails:
|
||||
$ref: '../schemas/UserInteractionDetails.yaml'
|
||||
invoiceId:
|
||||
description: Invoice ID
|
||||
type: string
|
||||
paymentId:
|
||||
description: Payment ID
|
||||
type: string
|
||||
|
Loading…
Reference in New Issue
Block a user