Skip to content

Commit

Permalink
fix: use list for parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Jan 16, 2025
1 parent 9e4a670 commit cbd148f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,27 +112,33 @@ spec:
Deprecated: field is not used
type: boolean
parameters:
additionalProperties:
description: webhook parameters
items:
description: webhook parameter schema
properties:
default:
description: default parameter value
type: string
description:
description: description for the property
description: description for the parameter
type: string
example:
description: example value for the parameter
type: string
name:
description: unique parameter name
type: string
pattern:
description: regular expression to match
type: string
required:
description: whether parameter is required
type: boolean
type: object
required:
- name
description: webhook parameters
type: object
type: array
payloadObjectField:
description: will load the generated payload for notification inside
the object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,27 +113,33 @@ spec:
description: webhook headers (golang template supported)
type: object
parameters:
additionalProperties:
description: webhook parameters
items:
description: webhook parameter schema
properties:
default:
description: default parameter value
type: string
description:
description: description for the property
description: description for the parameter
type: string
example:
description: example value for the parameter
type: string
name:
description: unique parameter name
type: string
pattern:
description: regular expression to match
type: string
required:
description: whether parameter is required
type: boolean
type: object
required:
- name
description: webhook parameters
type: object
type: array
payloadObjectField:
description: will load the generated payload for notification inside
the object
Expand Down

0 comments on commit cbd148f

Please sign in to comment.