Skip to content

Commit

Permalink
Update packages/apidom-ls/src/config/openapi/operation/lint/schemes--…
Browse files Browse the repository at this point in the history
…type.ts
  • Loading branch information
char0n authored Dec 19, 2023
1 parent f949349 commit 7035341
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { OpenAPI2 } from '../../target-specs';
const schemesTypeLint: LinterMeta = {
code: ApilintCodes.OPENAPI2_OPERATION_FIELD_SCHEMES_TYPE,
source: 'apilint',
message: "'consumes' must be an array of strings",
message: "'schemes' must be an array of strings",
severity: DiagnosticSeverity.Error,
linterFunction: 'apilintArrayOfType',
linterParams: ['string'],
Expand Down

0 comments on commit 7035341

Please sign in to comment.