UNPKG

airship-server

Version:

Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.

12 lines (11 loc) 433 B
import ApiMethodParam from "./ApiMethodParam"; import { Type } from "../types/Type"; export default class ApiMethodScheme { readonly name: string; readonly params: ApiMethodParam[]; readonly responseType: Type; readonly description: string; constructor(name: string, params: ApiMethodParam[], responseType: Type, description: string); serialize(): Object; static deserialize(raw: any): ApiMethodScheme; }