@ordercloud/oc-codegen
Version:
OpenAPI codegen tool built for the OrderCloud API
20 lines (19 loc) • 596 B
TypeScript
import { OpenAPIV3 } from 'openapi-types';
/**
* grab bag of small helpers used throughout
*/
/**
* @ignore
* not part of public api, don't include in generated docs
*/
declare class Utility {
getType(ref?: string): string | null;
isPrimitive(type?: string): boolean;
isComplexType(type?: string): boolean;
isCustomType(type?: string): boolean;
makePascalCase(input: string): string;
makeCamelCase(input: string): string;
resolveReference(ref: string, spec: OpenAPIV3.Document): any;
}
declare const _default: Utility;
export default _default;