Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya committed Nov 28, 2023
1 parent 99e38cd commit 238dcda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ruleset/v3/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const v3CoreRuleset = {
* Channel Object rules
*/
'asyncapi3-required-channel-servers-unambiguity': {
description: 'The "servers" field of a channel under the root "channels" object must always reference to a subset of the servers under the root "servers" object.',
description: 'The "servers" field of a channel under the root "channels" object must always reference a subset of the servers under the root "servers" object.',
severity: 'error',
recommended: true,
resolved: false, // We use the JSON pointer to match the channel.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ testRule('asyncapi3-required-channel-servers-unambiguity', [
},
errors: [
{
message: 'The "servers" field of a channel under the root "channels" object must always reference to a subset of the servers under the root "servers" object.',
message: 'The "servers" field of a channel under the root "channels" object must always reference a subset of the servers under the root "servers" object.',
path: ['channels', 'UserSignedUp', 'servers', '0', '$ref'],
severity: DiagnosticSeverity.Error,
},
{
message: 'The "servers" field of a channel under the root "channels" object must always reference to a subset of the servers under the root "servers" object.',
message: 'The "servers" field of a channel under the root "channels" object must always reference a subset of the servers under the root "servers" object.',
path: ['channels', 'UserSignedUp', 'servers', '1', '$ref'],
severity: DiagnosticSeverity.Error,
}
Expand All @@ -196,12 +196,12 @@ testRule('asyncapi3-required-channel-servers-unambiguity', [
},
errors: [
{
message: 'The "servers" field of a channel under the root "channels" object must always reference to a subset of the servers under the root "servers" object.',
message: 'The "servers" field of a channel under the root "channels" object must always reference a subset of the servers under the root "servers" object.',
path: ['channels', 'UserSignedUp', 'servers', '0', '$ref'],
severity: DiagnosticSeverity.Error,
},
{
message: 'The "servers" field of a channel under the root "channels" object must always reference to a subset of the servers under the root "servers" object.',
message: 'The "servers" field of a channel under the root "channels" object must always reference a subset of the servers under the root "servers" object.',
path: ['channels', 'UserSignedUp', 'servers', '1', '$ref'],
severity: DiagnosticSeverity.Error,
}
Expand Down

0 comments on commit 238dcda

Please sign in to comment.