UNPKG

@autorest/openapi-to-typespec

Version:

Autorest plugin to scaffold a Typespec definition from an OpenAPI document

5 lines 350 B
import { ObjectSchema, Property } from "@autorest/codemodel"; import { TypespecObjectProperty } from "../interfaces"; export declare function getOwnDiscriminator(schema: ObjectSchema): Property | undefined; export declare function getDiscriminator(schema: ObjectSchema): TypespecObjectProperty | undefined; //# sourceMappingURL=discriminator.d.ts.map