UNPKG

@autorest/openapi-to-typespec

Version:

Autorest plugin to scaffold a Typespec definition from an OpenAPI document

12 lines 736 B
import { ScopeType } from "../utils/resource-discovery"; 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 getExtensionResourceType(path: string): ScopeType; export declare function isSingleton(set: OperationSet): boolean; export declare function pathIncludes(path1: string, path2: string): boolean; //# sourceMappingURL=utils.d.ts.map