UNPKG

@micro.ts/core

Version:

Microservice framework with Typescript

8 lines (7 loc) 511 B
import { OpenAPIV3 } from 'openapi-types'; import { Class } from '../server/types'; export declare function getServerInfo(title: string, version: string, description: string): OpenAPIV3.InfoObject; export declare function getServerObject(host: string, port: number, protocol?: string, description?: string): OpenAPIV3.ServerObject; export declare const schemas: Map<Class<any>, any>; export declare function getAppSchema(): OpenAPIV3.Document<{}>; export declare function getObjectSchema(obj: Class<any>): any;