UNPKG

st-open-api

Version:

Generates API client SDKs from an OpenAPI specification written in OpenAPI version 3.x.x

7 lines (6 loc) 551 B
import { ISchema } from "../interface/open-api-mine/i-schema"; import { EnumProperty } from "../classes/enum-property"; import { InterfaceProperty } from "../classes/interface-property"; import { InterfaceArrayProperty } from "../classes/interface-array-property"; import { PrimitiveTypeProperty } from "../classes/primitive-type-property"; export declare const getInterfaceOrEnumFromSchema: (className: string, originalName: string, schema: ISchema, path: string) => InterfaceProperty | EnumProperty | InterfaceArrayProperty | PrimitiveTypeProperty;