bff for callbacks

This commit is contained in:
Stephan D
2026-03-01 02:04:15 +01:00
parent 709df51512
commit 86eab3bb70
44 changed files with 1563 additions and 25 deletions

View File

@@ -0,0 +1,67 @@
components:
schemas:
CallbackRetryPolicy:
type: object
additionalProperties: false
required:
- minDelayMs
- maxDelayMs
- signingMode
- maxAttempts
- requestTimeoutMs
properties:
minDelayMs:
type: integer
minimum: 1
maxDelayMs:
type: integer
minimum: 1
signingMode:
type: string
enum:
- none
- hmac_sha256
secretRef:
type: string
nullable: true
headers:
type: object
additionalProperties:
type: string
maxAttempts:
type: integer
minimum: 1
requestTimeoutMs:
type: integer
minimum: 1
Callback:
allOf:
- $ref: ../permission_bound.yaml#/components/schemas/PermissionBound
- $ref: ../common/describable.yaml#/components/schemas/Describable
- type: object
additionalProperties: false
required:
- clientId
- status
- url
- eventTypes
- retryPolicy
properties:
clientId:
type: string
status:
type: string
enum:
- active
- disabled
url:
type: string
format: uri
eventTypes:
type: array
items:
type: string
retryPolicy:
$ref: '#/components/schemas/CallbackRetryPolicy'