@redocly/respect-core
Version:
API testing framework core
18 lines • 741 B
TypeScript
import { type Oas3SecurityScheme } from '@redocly/openapi-core';
import { type TestContext, type Step, type OperationMethod } from '../../types.js';
import { type ParameterWithIn } from '../context-parser/index.js';
import { type OperationDetails } from '../description-parser/index.js';
export type RequestData = {
serverUrl?: {
url: string;
};
path: string;
method: OperationMethod;
parameters: ParameterWithIn[];
requestBody: any;
openapiOperation?: OperationDetails & {
securitySchemes?: Record<string, Oas3SecurityScheme>;
};
};
export declare function prepareRequest(ctx: TestContext, step: Step, workflowName: string): Promise<RequestData>;
//# sourceMappingURL=prepare-request.d.ts.map