Skip to content

Commit

Permalink
chore(rulesets): describe input
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jun 6, 2022
1 parent 038b53c commit d5dbf08
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ function validate(

export default createRulesetFunction<MessageFragment, null>(
{
input: null,
input: {
type: 'object',
properties: {
name: {
type: 'string',
},
summary: {
type: 'string',
},
},
},
options: null,
},
function asyncApi2MessageExamplesValidation(targetVal, _, ctx) {
Expand Down

0 comments on commit d5dbf08

Please sign in to comment.