UNPKG

@autorest/openapi-to-typespec

Version:

Autorest plugin to scaffold a Typespec definition from an OpenAPI document

10 lines 909 B
import { Operation } from "@autorest/codemodel"; import { OperationSet } from "./operation-set"; export declare function setParentOfResourceCollectionOperation(operation: Operation, requestPath: string, operationSets: OperationSet[]): boolean; export declare function getResourceCollectionOperations(set: OperationSet): Operation[]; export declare function setParentOfOtherOperation(operation: Operation, requestPath: string, operationSets: OperationSet[]): boolean; export declare function getOtherOperations(set: OperationSet): Operation[]; export declare function setParentOfExtensionOperation(operation: Operation, requestPath: string, operationSets: OperationSet[]): boolean; export declare function getExtensionOperation(set: OperationSet): [Operation, string][]; export declare function getParents(requestPath: string, operationSets: OperationSet[]): string[]; //# sourceMappingURL=find-parent.d.ts.map