wrekenfile-converter
Version:
Convert OpenAPI and Postman specs into Wrekenfiles, with chunking for vector database storage
14 lines • 605 B
TypeScript
/**
* Shared utilities for processing responses in v2 converters
*/
/**
* Generate descriptive RETURNVAR name based on operation and response code
*/
export declare function generateReturnVarName(operationId: string, code: string): string;
/**
* Generate descriptive WHEN clause for error responses with HTTP status code.
* Uses the spec description when available, falls back to well-known HTTP
* status descriptions, and finally to generic client/server error labels.
*/
export declare function generateErrorWhen(response: any, code: string): string;
//# sourceMappingURL=response-utils.d.ts.map