UNPKG

@autorest/openapi-to-typespec

Version:

Autorest plugin to scaffold a Typespec definition from an OpenAPI document

11 lines 607 B
import { HttpMethod, Operation } from "@autorest/codemodel"; export interface OperationSet { RequestPath: string; Operations: Array<Operation>; SingletonRequestPath: string | undefined; } export declare function getResourceDataSchema(set: OperationSet): string | undefined; export declare function setResourceDataSchema(set: OperationSet, resourceDataName: string): void; export declare function populateSingletonRequestPath(set: OperationSet): void; export declare function findOperation(set: OperationSet, method: HttpMethod): Operation | undefined; //# sourceMappingURL=operation-set.d.ts.map