UNPKG

@redocly/respect-core

Version:
12 lines 692 B
import type { Oas3Responses } from '@redocly/openapi-core'; import { type Check, type StepCallContext, type TestContext } from '../../../types.js'; export declare function checkSchema({ stepCallCtx, descriptionOperation, ctx, }: { stepCallCtx: StepCallContext; descriptionOperation?: any; ctx: TestContext; }): Check[]; type ResponseContent = NonNullable<Oas3Responses[string]['content']>; export declare function resolveContentByType(content: ResponseContent | undefined, contentType: string): ResponseContent[string] | undefined; export declare function statusCodeDiff<E = unknown>(actual: unknown, expected: E[]): string; export {}; //# sourceMappingURL=schema-checker.d.ts.map