parse-openapi
Version:
OpenAPI v3 parser
7 lines (6 loc) • 302 B
TypeScript
/**
* Convert the input value to a correct operation (method) classname.
* This will use the operation ID - if available - and otherwise fallback
* on a generated name from the URL
*/
export declare const getOperationName: (url: string, method: string, operationId?: string | undefined) => string;