@autorest/openapi-to-cadl
Version:
Autorest plugin to scaffold a Typespec definition from an OpenAPI document
9 lines • 804 B
TypeScript
import { ArraySchema, ChoiceSchema, ConstantSchema, DictionarySchema, Schema, SchemaResponse, SealedChoiceSchema, Response, AnySchema } from "@autorest/codemodel";
export declare function isConstantSchema(schema: Schema): schema is ConstantSchema;
export declare function isArraySchema(schema: Schema): schema is ArraySchema;
export declare function isChoiceSchema(schema: Schema): schema is ChoiceSchema;
export declare function isSealedChoiceSchema(schema: Schema): schema is SealedChoiceSchema;
export declare function isDictionarySchema(schema: Schema): schema is DictionarySchema;
export declare function isResponseSchema(response: Response | SchemaResponse): response is SchemaResponse;
export declare function isAnySchema(schema: Schema): schema is AnySchema;
//# sourceMappingURL=schemas.d.ts.map