Skip to content

Commit

Permalink
Update packages/rulesets/src/asyncapi/functions/asyncApi2MessageExamp…
Browse files Browse the repository at this point in the history
…lesValidation.ts
  • Loading branch information
P0lip committed Jun 6, 2022
1 parent 038b53c commit da965a4
Showing 1 changed file with 11 additions and 1 deletion.
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 da965a4

Please sign in to comment.