UNPKG

@redocly/respect-core

Version:
11 lines 602 B
import { type LoggerInterface } from '@redocly/openapi-core'; import type { ParameterWithIn } from '../context-parser/index.js'; import type { OperationDetails } from './get-operation-from-description.js'; export interface OpenApiRequestData { requestBody?: Record<string, unknown>; contentType?: string; parameters: ParameterWithIn[]; contentTypeParameters: ParameterWithIn[]; } export declare function getRequestDataFromOpenApi(operation: OperationDetails & Record<string, any>, logger: LoggerInterface): OpenApiRequestData; //# sourceMappingURL=get-request-data-from-openapi.d.ts.map