@unleash/proxy
Version:
The Unleash Proxy (Open-Source)
10 lines (9 loc) • 425 B
TypeScript
import type { OpenAPIV3 } from 'openapi-types';
type ParameterName = string;
type Description = string;
export declare const createRequestParameters: (params: Record<ParameterName, Description>) => OpenAPIV3.ParameterObject[];
export declare const createDeepObjectRequestParameters: (params: Record<ParameterName, {
description: string;
example: Record<string, string>;
}>) => OpenAPIV3.ParameterObject[];
export {};