@redocly/respect-core
Version:
API testing framework core
12 lines • 692 B
TypeScript
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