@autorest/openapi-to-cadl
Version:
Autorest plugin to scaffold a Typespec definition from an OpenAPI document
10 lines • 514 B
TypeScript
import { CodeModel } from "@autorest/codemodel";
import { EndpointParameter, ServiceInformation } from "../interfaces";
export declare function transformServiceInformation(model: CodeModel): ServiceInformation;
export declare function transformEndpointParameters(model: CodeModel): EndpointParameter[];
export declare function transformBaseUrl(codeModel: CodeModel): {
urlParameters: any[];
endpoint: string | undefined;
isCustom: boolean;
};
//# sourceMappingURL=transform-service-information.d.ts.map