openapi-codegen-typescript
Version:
OpenApi codegen for generating types an mocks from swagger json file
3 lines (2 loc) • 439 B
TypeScript
import { SchemaProperties } from '../types';
export declare const getResultStringType: ({ type, items, oneOf, xDictionaryKey, additionalProperties, $ref, }: Pick<SchemaProperties, "$ref" | "additionalProperties" | "items" | "oneOf" | "type" | "xDictionaryKey">) => "String" | "Number" | "Boolean" | "ItemWithRef" | "ItemWithoutRef" | "OneOf" | "Ref" | "UndefinedTypeRefAndOneOf" | "DictionaryKey" | "AdditionalPropertiesType" | "Invalid";