@autorest/openapi-to-typespec
Version:
Autorest plugin to scaffold a Typespec definition from an OpenAPI document
10 lines • 604 B
TypeScript
import { OperationSet } from "./operation-set";
export declare function getResourceType(path: string): string;
export declare function getResourceKey(path: string): string;
export declare function getResourceKeySegment(path: string): string;
export declare function getScopePath(path: string): string;
export declare function isScopedSegment(path: string): boolean;
export declare function isScopedPath(path: string): boolean;
export declare function isSingleton(set: OperationSet): boolean;
export declare function pathIncludes(path1: string, path2: string): boolean;
//# sourceMappingURL=utils.d.ts.map