add invoiceId and paymentId in userInteraction for webhook + update redocly config

This commit is contained in:
ggmaleva 2024-04-03 12:47:58 +03:00
parent 9daaca806b
commit 73fa32d427
3 changed files with 33 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -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