@kubb/plugin-cypress
Version:
Cypress test generator plugin for Kubb, creating end-to-end tests from OpenAPI specifications for automated API testing.
21 lines (18 loc) • 596 B
text/typescript
import { HttpMethod } from '@kubb/oas';
import { ReactNode } from 'react';
import { OperationSchemas } from '@kubb/plugin-oas';
import { P as PluginCypress } from './types-C2ke2hnU.cjs';
import '@kubb/core';
type Props = {
/**
* Name of the function
*/
name: string;
typeSchemas: OperationSchemas;
url: string;
baseURL: string | undefined;
dataReturnType: PluginCypress['resolvedOptions']['dataReturnType'];
method: HttpMethod;
};
declare function Request({ baseURL, name, dataReturnType, typeSchemas, url, method }: Props): ReactNode;
export { Request };