diff --git a/src/schema-parser/index.ts b/src/schema-parser/index.ts index bc6498cd2..31b2a0e66 100644 --- a/src/schema-parser/index.ts +++ b/src/schema-parser/index.ts @@ -2,7 +2,7 @@ import type { Parser } from '../parser'; import type { AsyncAPISchema, DetailedAsyncAPI, SchemaValidateResult } from '../types'; export interface ValidateSchemaInput { - readonly asyncapi: Exclude; + readonly asyncapi: DetailedAsyncAPI; readonly data: D; readonly meta: M; readonly path: Array;